From: florian Date: Thu, 25 Mar 2010 13:44:13 +0000 (+0000) Subject: [package] compile lvm2 with fpic when necessary (#6930) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=def1220d9c161c1fc91ed42ccff2a296ea0e5f74;p=packages.git [package] compile lvm2 with fpic when necessary (#6930) git-svn-id: svn://svn.openwrt.org/openwrt/packages@20423 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/lvm2/Makefile b/utils/lvm2/Makefile index 3eacf301d..572e38e51 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