netpipe: fix compile on platforms with VFP
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 May 2014 04:51:32 +0000 (04:51 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 May 2014 04:51:32 +0000 (04:51 +0000)
buildbot reported error on platforms with VFP (sunxi,imx6,omap):
 NPtcp uses VFP register arguments, /tmp/.o does not

CFLAGS were overwritten so append them instead

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@40790 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch [new file with mode: 0644]

diff --git a/net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch b/net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch
new file mode 100644 (file)
index 0000000..4136425
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/makefile
++++ b/makefile
+@@ -21,7 +21,7 @@
+ ########################################################################
+ CC         = cc
+-CFLAGS     = -O -g
++CFLAGS     += -O -g
+ SRC        = ./src
+ # For MPI, mpicc will set up the proper include and library paths