Re: [OpenWrt-Devel] [Patch] [packages] netpipe: fix compile on platforms with VFP

2014-05-19 Thread Florian Fainelli
2014-05-11 10:08 GMT-07:00 Dirk Neukirchen :
> 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 

Applied in r40790, thanks!
--
Florian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [Patch] [packages] netpipe: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
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 
---
 net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch

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
index 000..4136425
--- /dev/null
+++ b/net/netpipe/patches/001-Makefile_honor_CFLAGS_for_VFP.patch
@@ -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
-- 
2.0.0.rc2
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel