10c5fb2d8c
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27692 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
294 B
Diff
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
|
|
|