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