aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-06 22:10:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-06 22:10:29 +0000
commite9ea28b0af50ffbcd96639040b6fac539d9b6f3b (patch)
tree2316dcfe92c81751c2b68974e24e6ae7c0b1bafc /package/opkg/Makefile
parent14ac8769b2833e62eea2248296bc60e536aefe00 (diff)
downloadupstream-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.gz
upstream-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.bz2
upstream-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.zip
use $(FPIC) in a few places where it matters
SVN-Revision: 12225
Diffstat (limited to 'package/opkg/Makefile')
-rw-r--r--package/opkg/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 6a275ca810..76729db7b1 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -36,6 +36,7 @@ define Package/opkg/description
opkg knows how to install both .ipk and .deb packages.
endef
+TARGET_CFLAGS += $(FPIC)
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib