From acd699849c790fd4ceae6dc01272cd9b1cbf51f4 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 8 Mar 2014 00:58:02 +0000 Subject: [PATCH] apf: do not override CFLAGS in configure script Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@39834 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/apf/Makefile | 5 +++-- net/apf/patches/001-cflags_override.patch | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 net/apf/patches/001-cflags_override.patch diff --git a/net/apf/Makefile b/net/apf/Makefile index 89e46aa51..9e7867743 100644 --- a/net/apf/Makefile +++ b/net/apf/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 OpenWrt.org +# Copyright (C) 2011-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,11 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apf PKG_VERSION:=0.8.4 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://gray-world.net/projects/af/ PKG_MD5SUM:=4411785b05ec59e955152fe4e61705b1 +PKG_FIXUP:=autoreconf PKG_INSTALL:=1 diff --git a/net/apf/patches/001-cflags_override.patch b/net/apf/patches/001-cflags_override.patch new file mode 100644 index 000000000..80d85e967 --- /dev/null +++ b/net/apf/patches/001-cflags_override.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -28,8 +28,6 @@ AC_CONFIG_FILES([Makefile + modules/Makefile + src/Makefile]) + +-CFLAGS="-pedantic -Wall -O2" +- + # Enabling/disabling asserts and debugging + AC_MSG_CHECKING(whether to enable debugging) + AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging