From: florian Date: Sun, 18 Jan 2009 15:20:49 +0000 (+0000) Subject: [package] collectd needs -fPIC to be passed to CFLAGS to build properly on x86_64... X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=2b2f280bea2975cd2c5070c066e0777325c789de;p=packages.git [package] collectd needs -fPIC to be passed to CFLAGS to build properly on x86_64 (at least) git-svn-id: svn://svn.openwrt.org/openwrt/packages@14092 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 8ae8d1d7b..44bb7f1d5 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -281,7 +281,7 @@ PKG_CONFIGURE_OPTS:= \ --with-fp-layout=nothing CONFIGURE_VARS+= \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include/libxml2 $$$$CPPFLAGS" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include/libxml2 $$$$CPPFLAGS $(FPIC)" \ KERNEL_DIR="$(LINUX_DIR)" # list of permanently disabled plugins