lvm2: fix CE in mac
command-count.h generated by makefile was wrong
when using default shell in mac,
set shell to bash to fix it.
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
(cherry picked from commit 9bb0962d6e
)
This commit is contained in:
parent
2d1f837934
commit
3fd112e4a3
|
@ -52,10 +52,15 @@ endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += --disable-o_direct
|
CONFIGURE_ARGS += --disable-o_direct
|
||||||
|
|
||||||
|
ifneq ($(shell /bin/sh -c "echo -n 'X'"),X)
|
||||||
|
MAKE_SHELL = SHELL=/bin/bash
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
$(MAKE_SHELL) \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue