From: Florian Fainelli Date: Tue, 20 May 2014 04:51:29 +0000 (+0000) Subject: mdk3: fix compile on platforms with VFP X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2914a01542bb0f5889e0258e2e224574a804b77d;p=openwrt%2Fsvn-archive%2Fpackages.git mdk3: fix compile on platforms with VFP buildbot reported error on platforms with VFP (sunxi,imx6,omap): mdk3 uses VFP register arguments, /tmp/ccBN2WMD.o does not mdk3 uses VFP register arguments, osdep/libosdep.a(osdep.o) does not mdk3 uses VFP register arguments, osdep/libosdep.a(network.o) does not mdk3 uses VFP register arguments, osdep/libosdep.a(linux.o) does not mdk3 uses VFP register arguments, osdep/libosdep.a(radiotap-parser.o) does not mdk3 uses VFP register arguments, osdep/libosdep.a(common.o) does not with failed to merge target specific data of file ... CFLAGS were overwritten so append them instead Signed-off-by: Dirk Neukirchen Signed-off-by: Florian Fainelli SVN-Revision: 40789 --- diff --git a/net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch b/net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch new file mode 100644 index 000000000..9a420c223 --- /dev/null +++ b/net/mdk3/patches/020-Makefile_honour_CFLAGS_for_VFP.patch @@ -0,0 +1,8 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,4 @@ +-CFLAGS = -g -O3 -Wall -Wextra ++CFLAGS += -g -O3 -Wall -Wextra + LINKFLAGS = -lpthread + + DESTDIR =