diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-03 05:00:38 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-09-03 05:00:38 +0000 |
commit | bf7dc6ecbc25bbb4451523ef8f19cd51cd0a0140 (patch) | |
tree | dd3a684907fdcf73daf2a174a261110d6af3b1f8 /package | |
parent | 079261ca7b428a065039426f2d9d4daf851933c9 (diff) |
use $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) instead of full -I... & -L...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8578 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/ncurses/Makefile | 4 | ||||
-rw-r--r-- | package/openssl/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile index d9fc45a71..ba0da00cd 100644 --- a/package/ncurses/Makefile +++ b/package/ncurses/Makefile @@ -80,8 +80,8 @@ define Build/Compile (cd $(PKG_BUILD_DIR); rm -f config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ diff --git a/package/openssl/Makefile b/package/openssl/Makefile index c1e2d9ac8..015404d90 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -69,8 +69,8 @@ define Build/Configure ./Configure linux-openwrt \ --prefix=/usr \ --openssldir=/etc/ssl \ - -I$(STAGING_DIR)/usr/include \ - -L$(STAGING_DIR)/usr/lib -ldl \ + $(TARGET_CPPFLAGS) \ + $(TARGET_LDFLAGS) -ldl \ -DOPENSSL_SMALL_FOOTPRINT \ $(OPENSSL_NO_CIPHERS) \ $(OPENSSL_OPTIONS) \ |