More tweaks for future wasm
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
cb016113d6
commit
5465b44705
5 changed files with 35 additions and 20 deletions
14
src/Makefile
14
src/Makefile
|
@ -49,10 +49,18 @@ BASE_FLAGS += -IRack/dep/nanosvg/src
|
|||
BASE_FLAGS += -IRack/dep/osdialog
|
||||
BASE_FLAGS += -IRack/dep/oui-blendish
|
||||
BASE_FLAGS += -IRack/dep/pffft
|
||||
BASE_FLAGS += -pthread
|
||||
|
||||
ifeq ($(HEADLESS),true)
|
||||
BASE_FLAGS += -DHEADLESS
|
||||
endif
|
||||
|
||||
ifeq ($(WASM),true)
|
||||
BASE_FLAGS += -DNANOVG_GLES2=1
|
||||
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
|
||||
# FIXME
|
||||
BASE_FLAGS += -DRTLD_DEEPBIND=0
|
||||
else
|
||||
BASE_FLAGS += -pthread
|
||||
endif
|
||||
|
||||
ifeq ($(WINDOWS),true)
|
||||
|
@ -62,10 +70,6 @@ BASE_FLAGS += -I../include/mingw-compat
|
|||
BASE_FLAGS += -I../include/mingw-std-threads
|
||||
endif
|
||||
|
||||
ifeq ($(HEADLESS),true)
|
||||
BASE_FLAGS += -DHEADLESS
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_LTO),true)
|
||||
BASE_FLAGS += -fno-strict-aliasing -flto -ffat-lto-objects
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue