From: Florian Fainelli Date: Tue, 20 May 2014 04:51:32 +0000 (+0000) Subject: netpipe: fix compile on platforms with VFP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe85ddd627e80f7632cfea240cbf6ce75688a86f;p=openwrt%2Fsvn-archive%2Fpackages.git netpipe: fix compile on platforms with VFP 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 Signed-off-by: Florian Fainelli SVN-Revision: 40790 --- 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 000000000..41364250b --- /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