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:
parent
eb2e567bf8
commit
a344105bb2
8
Makefile
8
Makefile
@ -92,7 +92,9 @@ endif
|
||||
ifeq ($(SQ_PLAT),win)
|
||||
SQ_DYNAMIC_LINKER_OPTIONS += -Wl,--dll
|
||||
else
|
||||
SQ_DYNAMIC_LINKER_OPTIONS +=
|
||||
SQ_DEFINES += -DLINUX
|
||||
SQ_C_OPTIONS += -fPIC
|
||||
SQ_DYNAMIC_LINKER_OPTIONS += -Wl,-Bsymbolic
|
||||
endif
|
||||
|
||||
ifeq ($(SQ_ARCH),64)
|
||||
@ -105,7 +107,9 @@ else
|
||||
endif
|
||||
|
||||
ifdef STANDALONE
|
||||
SQ_DYNAMIC_LINKER_OPTIONS_ += -static
|
||||
SQ_DYNAMIC_LINKER_OPTIONS_ += -static
|
||||
else
|
||||
SQ_DYNAMIC_LINKER_OPTIONS_ += -Bstatic
|
||||
endif
|
||||
|
||||
SQ_DEFINES += -DSCRAT_USE_EXCEPTION -DSCRAT_USE_CXX11_OPTIMIZATIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user