apf: do not override CFLAGS in configure script

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39834 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-08 00:58:02 +00:00
parent 6dc366d03c
commit acd699849c
2 changed files with 14 additions and 2 deletions

View File

@ -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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,11 +9,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apf PKG_NAME:=apf
PKG_VERSION:=0.8.4 PKG_VERSION:=0.8.4
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://gray-world.net/projects/af/ PKG_SOURCE_URL:=http://gray-world.net/projects/af/
PKG_MD5SUM:=4411785b05ec59e955152fe4e61705b1 PKG_MD5SUM:=4411785b05ec59e955152fe4e61705b1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1 PKG_INSTALL:=1

View File

@ -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