packages/libs/libnatpmp/patches/001-cross_compile.patch
swalker 10c5fb2d8c [packages] libnatpmp: update to 20110715, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 14:42:00 +00:00

13 lines
294 B
Diff

--- 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