Fix debug build

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-12-29 01:35:10 +00:00
parent 2a117b1931
commit 4429060454
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

4
deps/Makefile vendored
View file

@ -34,7 +34,7 @@ endif
BASE_FLAGS += -I$(abspath ../include)
BASE_FLAGS += -I$(abspath ../include/simd-compat)
ifneq (,$(findstring true,$(DEBUG)$(NOSIMD)))
ifeq ($(NOSIMD),true)
BASE_FLAGS += -DCARDINAL_NOSIMD
endif
@ -325,6 +325,7 @@ endif
SURGE_CXX_FLAGS += -DJUCE_DSP_ENABLE_SNAP_TO_ZERO=0
# required by JUCE
ifneq ($(NOSIMD),true)
ifeq ($(WASM),true)
SURGE_CXX_FLAGS += -msse -msse2 -msse3 -msimd128
else ifeq ($(CPU_ARM32),true)
@ -332,6 +333,7 @@ SURGE_CXX_FLAGS += -mfpu=neon-vfpv4 -mfloat-abi=hard
else ifeq ($(CPU_I386_OR_X86_64),true)
SURGE_CXX_FLAGS += -msse -msse2
endif
endif
# possibly use fftw?
# ifeq ($(shell $(PKG_CONFIG) --exists fftw3 fftw3f && echo true),true)