diff options
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 666104d1b..c06e92fea 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -74,7 +74,11 @@ CXXFLAGS += -Iinclude RUNCC = perl $(SOURCEPATH)/make/run-cc.pl $(CC) @ENDIF -@DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS +@IFDEF PURE_STATIC + CXXFLAGS += -DPURE_STATIC +@ENDIF + +@DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS PURE_STATIC @DO_EXPORT BASE CONPATH MODPATH BINPATH SOURCEPATH BUILDPATH # Default target |