mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 16:21:06 +02:00
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
This commit is contained in:
parent
079261ca7b
commit
bf7dc6ecbc
@ -80,8 +80,8 @@ define Build/Compile
|
|||||||
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
./configure \
|
./configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
|
@ -69,8 +69,8 @@ define Build/Configure
|
|||||||
./Configure linux-openwrt \
|
./Configure linux-openwrt \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--openssldir=/etc/ssl \
|
--openssldir=/etc/ssl \
|
||||||
-I$(STAGING_DIR)/usr/include \
|
$(TARGET_CPPFLAGS) \
|
||||||
-L$(STAGING_DIR)/usr/lib -ldl \
|
$(TARGET_LDFLAGS) -ldl \
|
||||||
-DOPENSSL_SMALL_FOOTPRINT \
|
-DOPENSSL_SMALL_FOOTPRINT \
|
||||||
$(OPENSSL_NO_CIPHERS) \
|
$(OPENSSL_NO_CIPHERS) \
|
||||||
$(OPENSSL_OPTIONS) \
|
$(OPENSSL_OPTIONS) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user