[packages] openswan: fix Makefile - thanks Jonas Gorski
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 1 May 2009 11:20:03 +0000 (11:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 1 May 2009 11:20:03 +0000 (11:20 +0000)
SVN-Revision: 15535

net/openswan/Makefile

index c236b292c2404781abdd1fa64e3dc824e03802a1..d44d8ea25c94af438ac0246545fb181b4cd47661 100644 (file)
@@ -54,12 +54,7 @@ $(call Package/openswan/Default/description)
  This package contains the Openswan kernel module.
 endef
 
-TARGET_CPPFLAGS = \
-       $(TARGET_CPPFLAGS) \
-       -I$(LINUX_DIR)/include
-
-TARGET_LDFLAGS = \
-       $(TARGET_LDFLAGS)
+TARGET_CPPFLAGS += -I$(LINUX_DIR)/include
 
 OPENSWAN_MAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
        $(TARGET_CONFIGURE_OPTS) \