A few build fixes
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
dc92378e33
commit
22b129403e
6 changed files with 17 additions and 1 deletions
9
deps/Makefile
vendored
9
deps/Makefile
vendored
|
@ -324,6 +324,15 @@ endif
|
|||
# unwanted in this build
|
||||
SURGE_CXX_FLAGS += -DJUCE_DSP_ENABLE_SNAP_TO_ZERO=0
|
||||
|
||||
# required by JUCE
|
||||
ifeq ($(WASM),true)
|
||||
SURGE_CXX_FLAGS += -msse -msse2 -msse3 -msimd128
|
||||
else ifeq ($(CPU_ARM32),true)
|
||||
SURGE_CXX_FLAGS += -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
else ifeq ($(CPU_I386_OR_X86_64),true)
|
||||
SURGE_CXX_FLAGS += -msse -msse2
|
||||
endif
|
||||
|
||||
# possibly use fftw?
|
||||
# ifeq ($(shell $(PKG_CONFIG) --exists fftw3 fftw3f && echo true),true)
|
||||
# SURGE_CXX_FLAGS += -DJUCE_DSP_USE_STATIC_FFTW=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue