1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-21 20:27:13 +01:00

Some linux speciffic options to the build system.

This commit is contained in:
Sandu Liviu Catalin 2018-02-06 01:42:43 +02:00
parent eb2e567bf8
commit a344105bb2

View File

@ -92,7 +92,9 @@ endif
ifeq ($(SQ_PLAT),win) ifeq ($(SQ_PLAT),win)
SQ_DYNAMIC_LINKER_OPTIONS += -Wl,--dll SQ_DYNAMIC_LINKER_OPTIONS += -Wl,--dll
else else
SQ_DYNAMIC_LINKER_OPTIONS += SQ_DEFINES += -DLINUX
SQ_C_OPTIONS += -fPIC
SQ_DYNAMIC_LINKER_OPTIONS += -Wl,-Bsymbolic
endif endif
ifeq ($(SQ_ARCH),64) ifeq ($(SQ_ARCH),64)
@ -105,7 +107,9 @@ else
endif endif
ifdef STANDALONE ifdef STANDALONE
SQ_DYNAMIC_LINKER_OPTIONS_ += -static SQ_DYNAMIC_LINKER_OPTIONS_ += -static
else
SQ_DYNAMIC_LINKER_OPTIONS_ += -Bstatic
endif endif
SQ_DEFINES += -DSCRAT_USE_EXCEPTION -DSCRAT_USE_CXX11_OPTIMIZATIONS SQ_DEFINES += -DSCRAT_USE_EXCEPTION -DSCRAT_USE_CXX11_OPTIMIZATIONS