ipsec-tools: Fix compile on linux-2.6.36

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23378 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-10-10 14:14:57 +00:00
parent 3e05d183ff
commit 7f7c28850a

View File

@ -42,6 +42,10 @@ CONFIGURE_ARGS += \
--enable-natt \
--enable-adminport
# override CFLAGS holding "-Werror" that break builds on compile warnings
MAKE_FLAGS+=\
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)"
define Build/Prepare
$(call Build/Prepare/Default)
chmod -R u+w $(PKG_BUILD_DIR)
@ -59,8 +63,6 @@ define Build/Configure
echo "#undef HAVE_SHADOW_H" >> $(PKG_BUILD_DIR)/config.h
endef
# override CFLAGS holding "-Werror" that break builds on compile warnings
define Package/ipsec-tools/install
$(INSTALL_DIR) $(1)/etc
$(INSTALL_CONF) $(PKG_BUILD_DIR)/src/racoon/samples/racoon.conf $(1)/etc/