ntripserver: move to github
[openwrt.org/packages.git] / libs / 001-cross_compile.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,8 @@ INSTALL = install
 # APIVERSION is used in soname
 APIVERSION = 1
 #LDFLAGS = -Wl,--no-undefined
-CFLAGS = -O -fPIC -Wall -DENABLE_STRNATPMPERR
+COPTS = -O
+CFLAGS = $(COPTS) -fPIC -Wall -DENABLE_STRNATPMPERR
 
 LIBOBJS = natpmp.o getgateway.o
 
 
comments