[package] compile lvm2 with fpic when necessary (#6930)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20423 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a95cd12111
commit
def1220d9c
@ -84,7 +84,7 @@ CONFIGURE_ARGS += --disable-o_direct
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
install
|
install
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user