From 8d3fbd4b11c7c694a3991a7745ef2deed1ef4bae Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 5 May 2014 19:30:59 +0000 Subject: [PATCH] tayga: fix compile on platforms with VFP CFLAGS were set explicitly in configure.ac and then got included in Makefile; remove them fix compile error found on buildbot with arch sunxi several compile errors on .o files: tayga uses VFP register arguments, nat64.o does not Signed-off-by: Dirk Neukirchen Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@40700 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ipv6/tayga/Makefile | 1 + ipv6/tayga/patches/001-configure_unset_CFLAGS.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 ipv6/tayga/patches/001-configure_unset_CFLAGS.patch diff --git a/ipv6/tayga/Makefile b/ipv6/tayga/Makefile index 5e1a5df1e..211f84d19 100644 --- a/ipv6/tayga/Makefile +++ b/ipv6/tayga/Makefile @@ -12,6 +12,7 @@ PKG_MD5SUM:=7a7b24165ce008df772f398d86fa280e PKG_CAT:=bzcat PKG_BUILD_DIR:=$(BUILD_DIR)/tayga-$(PKG_VERSION) +PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk diff --git a/ipv6/tayga/patches/001-configure_unset_CFLAGS.patch b/ipv6/tayga/patches/001-configure_unset_CFLAGS.patch new file mode 100644 index 000000000..c56b5f214 --- /dev/null +++ b/ipv6/tayga/patches/001-configure_unset_CFLAGS.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -5,8 +5,6 @@ AC_CONFIG_HEADERS(config.h) + + AC_PROG_CC + +-CFLAGS='-g -Wall' +- + tayga_conf_path=${sysconfdir}/tayga.conf + + AC_SUBST(tayga_conf_path)