From: Florian Fainelli Date: Tue, 20 May 2014 04:51:27 +0000 (+0000) Subject: jtg: fix compile on platforms with VFP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c0f46ce38d3ad76f44cb1735e9df5ec8cf6af986;p=openwrt%2Fsvn-archive%2Farchive.git jtg: fix compile on platforms with VFP 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 Signed-off-by: Florian Fainelli SVN-Revision: 40788 --- 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 0000000000..11e4d6cb90 --- /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