More wasm details, basics mostly work now
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
034515190c
commit
5370e2ad6e
10 changed files with 103 additions and 49 deletions
12
deps/Makefile
vendored
12
deps/Makefile
vendored
|
@ -31,7 +31,7 @@ endif
|
|||
# custom build flags
|
||||
|
||||
BASE_FLAGS += -I../include
|
||||
BASE_FLAGS += -I../include/neon-compat
|
||||
BASE_FLAGS += -I../include/simd-compat
|
||||
|
||||
ifeq ($(HEADLESS),true)
|
||||
ifeq ($(WITH_LTO),true)
|
||||
|
@ -43,11 +43,11 @@ ifneq ($(SYSDEPS),true)
|
|||
BASE_FLAGS += -DZSTDLIB_VISIBILITY=
|
||||
endif
|
||||
|
||||
ifeq ($(WASM),true)
|
||||
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
|
||||
else ifneq ($(HAIKU),true)
|
||||
ifneq ($(HAIKU),true)
|
||||
ifneq ($(WASM),true)
|
||||
BASE_FLAGS += -pthread
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WINDOWS),true)
|
||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||
|
@ -62,6 +62,10 @@ BUILD_CXX_FLAGS += -fno-finite-math-only -fno-strict-aliasing
|
|||
# Rack code is not tested for this flag, unset it
|
||||
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
|
||||
|
||||
ifeq ($(WASM),true)
|
||||
BUILD_CXX_FLAGS += -fexceptions
|
||||
endif
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# override VCV arch.mk stuff so we can build more architectures
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue