From 78202d191b1e0332bd03740e83a3e8c07819810d Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 6 Aug 2008 22:10:29 +0000 Subject: use $(FPIC) in a few places where it matters git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/opkg/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'package/opkg/Makefile') diff --git a/package/opkg/Makefile b/package/opkg/Makefile index 6a275ca81..76729db7b 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 -- cgit v1.2.3