From: Nicolas Thill Date: Thu, 1 Feb 2007 23:48:59 +0000 (+0000) Subject: fix some misuses of the recently added EXTRA_{CFLAGS,CPPFLAGS,LDFLAGS} variables X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=873d83f0e5a4787a0bbb84a04d76c0befc79bc90 fix some misuses of the recently added EXTRA_{CFLAGS,CPPFLAGS,LDFLAGS} variables SVN-Revision: 6248 --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 7bb3f53326..c199856ed6 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -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) \ diff --git a/net/pptpd/Makefile b/net/pptpd/Makefile index 88273384eb..1ca2037965 100644 --- a/net/pptpd/Makefile +++ b/net/pptpd/Makefile @@ -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 \ diff --git a/net/wiviz/Makefile b/net/wiviz/Makefile index ff7cc5f827..da75545656 100644 --- a/net/wiviz/Makefile +++ b/net/wiviz/Makefile @@ -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 diff --git a/net/wrt-radauth/Makefile b/net/wrt-radauth/Makefile index 1cfe08418a..b0e16462ce 100644 --- a/net/wrt-radauth/Makefile +++ b/net/wrt-radauth/Makefile @@ -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 diff --git a/utils/hdparm/Makefile b/utils/hdparm/Makefile index c74ec81e3d..0fef9b6e1c 100644 --- a/utils/hdparm/Makefile +++ b/utils/hdparm/Makefile @@ -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 diff --git a/utils/procps/Makefile b/utils/procps/Makefile index 1eb89bf35a..365073234a 100644 --- a/utils/procps/Makefile +++ b/utils/procps/Makefile @@ -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