From 859482e47a64643dd0edc48dea1d9f7f454b5363 Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 1 Feb 2007 23:48:59 +0000 Subject: [PATCH] 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 --- libs/postgresql/Makefile | 6 +++--- net/pptpd/Makefile | 2 +- net/wiviz/Makefile | 4 ++-- net/wrt-radauth/Makefile | 4 ++-- utils/hdparm/Makefile | 4 ++-- utils/procps/Makefile | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 7bb3f5332..c199856ed 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 88273384e..1ca203796 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 ff7cc5f82..da7554565 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 1cfe08418..b0e16462c 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 c74ec81e3..0fef9b6e1 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 1eb89bf35..365073234 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