Merge pull request #13123 from jjm2473/lvm2-fix-mac-sh-for-1806

lvm2: fix CE in mac (backport)
This commit is contained in:
Rosen Penev 2020-08-15 01:45:13 -07:00 committed by GitHub
commit f8423ccb09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -52,10 +52,15 @@ endef
CONFIGURE_ARGS += --disable-o_direct
ifneq ($(shell /bin/sh -c "echo -n 'X'"),X)
MAKE_SHELL = SHELL=/bin/bash
endif
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
$(MAKE_SHELL) \
install
endef