[package] fix ccache compilation with mg (#5097)
[openwrt/svn-archive/archive.git] / net / openswan / Makefile
index e7150c356a93528b04e2d522d682d06c694dd680..d44d8ea25c94af438ac0246545fb181b4cd47661 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2008 OpenWrt.org
+# Copyright (C) 2006-2009 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -54,12 +54,7 @@ $(call Package/openswan/Default/description)
  This package contains the Openswan kernel module.
 endef
 
-TARGET_CPPFLAGS = \
-       -I$(STAGING_DIR)/usr/include \
-       -I$(LINUX_DIR)/include
-
-TARGET_LDFLAGS = \
-       -L$(STAGING_DIR)/usr/lib
+TARGET_CPPFLAGS += -I$(LINUX_DIR)/include
 
 OPENSWAN_MAKE := $(MAKE) -C $(PKG_BUILD_DIR) \
        $(TARGET_CONFIGURE_OPTS) \