From 3133fefe06562d0ce7984230425128634de27f2f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 21 Jan 2007 02:14:50 +0000 Subject: pass the CFLAGS through the environment on compile and fix a few packages SVN-Revision: 6154 --- package/isakmpd/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'package/isakmpd/Makefile') diff --git a/package/isakmpd/Makefile b/package/isakmpd/Makefile index 628b97f..d722052 100644 --- a/package/isakmpd/Makefile +++ b/package/isakmpd/Makefile @@ -32,11 +32,13 @@ define Package/isakmpd endef define Build/Compile - $(call Build/Compile/Default, \ + CFLAGS="$(TARGET_CFLAGS)" \ + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ LINUX_DIR="$(LINUX_DIR)" \ - EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/openssl -I$(STAGING_DIR)/usr/include/keynote -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ - EXTRA_LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - ) + EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/openssl -I$(STAGING_DIR)/usr/include/keynote -I$(STAGING_DIR)/usr/include " \ + EXTRA_LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" + $(MAKE) -C $(PKG_BUILD_DIR) \ STAGING_DIR="$(STAGING_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ -- cgit v1.1