configure.in contains a test which overrides CFLAGS with CCOPTS when it
determines that the compiler is GCC, this breaks build on most platforms where
the ABI has to be explicitely specified (e.g: ARM VFP).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39800
#
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=libnet0
PKG_VERSION:=1.0.2a
-PKG_RELEASE:=8
+PKG_RELEASE:=9
PKG_SOURCE:=libnet-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.packetfactory.net/libnet/dist/deprecated/
--- /dev/null
+--- a/configure.in 2014-03-06 14:55:36.627221831 -0800
++++ b/configure.in 2014-03-06 14:56:48.709112089 -0800
+@@ -53,16 +53,6 @@
+
+
+ dnl
+-dnl Use these compiler flags if we have gcc.
+-dnl
+-if test $ac_cv_prog_gcc = yes; then
+-dnl if test -z $CFLAGS; then
+- CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
+- CFLAGS="$CCOPTS"
+-dnl fi
+-fi
+-
+-dnl
+ dnl Check for package inclusion/exclusion
+ dnl
+ AC_ARG_WITH(pf_packet, [ --with-pf_packet=[yes,no] override defaults], \