fix some misuses of the recently added EXTRA_{CFLAGS,CPPFLAGS,LDFLAGS} variables

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6248 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2007-02-01 23:48:59 +00:00
parent e8aeb156ae
commit 859482e47a
6 changed files with 11 additions and 11 deletions

View File

@ -46,9 +46,9 @@ endef
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="$$$$CPPFLAGS $(EXTRA_CPPFLAGS)" \
LDFLAGS="$(EXTRA_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -38,7 +38,7 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
COPTS="\$$$$(EXTRA_CFLAGS)" \
COPTS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
INSTALL="install" \
all install \

View File

@ -31,8 +31,8 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
CCOPTS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
INCLUDE="" \
CCOPTS="$(TARGET_CFLAGS)" \
INCLUDE="$(EXTRA_CPPFLAGS)" \
LDFLAGS="$(EXTRA_LDFLAGS)" \
)
endef

View File

@ -35,8 +35,8 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="\$$$$(EXTRA_CFLAGS)" \
LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \
CFLAGS="$(EXTRA_CFLAGS)" \
LDFLAGS="$(EXTRA_LDFLAGS)" \
)
endef

View File

@ -37,8 +37,8 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="\$$$$(EXTRA_CFLAGS)" \
LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \
CFLAGS="$(EXTRA_CFLAGS)" \
LDFLAGS="$(EXTRA_LDFLAGS)" \
)
endef

View File

@ -43,7 +43,7 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="$(EXTRA_CFLAGS)" \
CPPFLAGS="$(EXTRA_CPPFLAGS)" \
LDFLAGS="$(EXTRA_LDFLAGS)" \
)
endef