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

2014-05-19 Thread Florian Fainelli
2014-05-11 10:06 GMT-07:00 Dirk Neukirchen dirkneukirc...@web.de:
 buildbot reported error on platforms with VFP (sunxi,imx6,omap):
 ld: error: jtg uses VFP register arguments, /tmp/ccewx1gu.o does not

 CFLAGS were overwritten so append them instead

 Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de

Applied in r40788, 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] jtg: fix compile on platforms with VFP

2014-05-11 Thread Dirk Neukirchen
buildbot reported error on platforms with VFP (sunxi,imx6,omap):
ld: error: jtg uses VFP register arguments, /tmp/ccewx1gu.o does not

CFLAGS were overwritten so append them instead

Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de
---
 net/jtg/patches/001-Makefile_honor_CFLAGS_for_VFP.patch | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 net/jtg/patches/001-Makefile_honor_CFLAGS_for_VFP.patch

diff --git a/net/jtg/patches/001-Makefile_honor_CFLAGS_for_VFP.patch 
b/net/jtg/patches/001-Makefile_honor_CFLAGS_for_VFP.patch
new file mode 100644
index 000..11e4d6c
--- /dev/null
+++ b/net/jtg/patches/001-Makefile_honor_CFLAGS_for_VFP.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
 b/Makefile
+@@ -2,7 +2,7 @@ BINDIR= $(HOME)/bin
+ VERSION=1.95
+ 
+ CC = gcc
+-CFLAGS= -O3 -Wall -Winline -pedantic
++CFLAGS+= -O3 -Wall -Winline -pedantic
+ CFLAGS+= -g
+ 
+ # The -DLinuxTCP controls which TCP options are in use
-- 
2.0.0.rc2
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel