ports/net/spserver/files/patch-sptunnel_Makefile
Vanilla I. Shu afc99aa14a 1: Add support of STAGE.
2: do not overwrite CFLAGS.
2013-09-24 16:47:45 +00:00

13 lines
400 B
Text

--- sptunnel/Makefile.orig 2009-12-13 10:02:35.000000000 +0800
+++ sptunnel/Makefile 2013-09-08 21:02:59.000000000 +0800
@@ -1,9 +1,8 @@
#--------------------------------------------------------------------
-CC = gcc
AR = ar cru
-CFLAGS = -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC
+CFLAGS += -Wall -D_REENTRANT -D_GNU_SOURCE -g -fPIC
SOFLAGS = -shared
LDFLAGS = -lstdc++ -lpthread -lresolv