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
15
src/Makefile
15
src/Makefile
|
|
@ -44,7 +44,7 @@ BASE_FLAGS += -DPRIVATE=
|
|||
BASE_FLAGS += -I../dpf/dgl/src/nanovg
|
||||
BASE_FLAGS += -I../dpf/distrho
|
||||
BASE_FLAGS += -I../include
|
||||
BASE_FLAGS += -I../include/neon-compat
|
||||
BASE_FLAGS += -I../include/simd-compat
|
||||
BASE_FLAGS += -IRack/include
|
||||
ifeq ($(SYSDEPS),true)
|
||||
BASE_FLAGS += -DCARDINAL_SYSDEPS
|
||||
|
|
@ -81,14 +81,11 @@ ifeq ($(HAIKU),true)
|
|||
BASE_FLAGS += -DCLOCK_MONOTONIC_RAW=CLOCK_MONOTONIC
|
||||
endif
|
||||
|
||||
ifeq ($(WASM),true)
|
||||
BASE_FLAGS += -DNANOVG_GLES2=1
|
||||
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
|
||||
# FIXME
|
||||
BASE_FLAGS += -DRTLD_DEEPBIND=0
|
||||
else ifneq ($(HAIKU),true)
|
||||
ifneq ($(WASM),true)
|
||||
ifneq ($(HAIKU),true)
|
||||
BASE_FLAGS += -pthread
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WINDOWS),true)
|
||||
BASE_FLAGS += -D_USE_MATH_DEFINES
|
||||
|
|
@ -117,6 +114,10 @@ BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal
|
|||
# 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
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# Rack files to build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue