From: Florian Fainelli Date: Thu, 25 Mar 2010 13:44:13 +0000 (+0000) Subject: [package] compile lvm2 with fpic when necessary (#6930) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=0ff300ede802b2ed100bca133b91fa34d58bf0a0 [package] compile lvm2 with fpic when necessary (#6930) SVN-Revision: 20423 --- diff --git a/utils/lvm2/Makefile b/utils/lvm2/Makefile index 3eacf301d9..572e38e516 100644 --- a/utils/lvm2/Makefile +++ b/utils/lvm2/Makefile @@ -84,7 +84,7 @@ CONFIGURE_ARGS += --disable-o_direct define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ - CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(FPIC)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ install endef