Cleanup BASE_OPTS usage, matching DPF

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2023-02-24 14:11:04 +01:00
parent 4c29367b6e
commit 33a142f447
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 11 deletions

View File

@ -25,19 +25,12 @@ include $(CWD)/Makefile.deps.mk
BASE_FLAGS = -Wall -Wextra -pipe -DBUILDING_CARLA -DREAL_BUILD -MD -MP -fno-common
BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections
ifeq ($(CPU_I386_OR_X86_64),true)
BASE_OPTS += -mtune=generic
ifeq ($(WASM),true)
# BASE_OPTS += -msse -msse2 -msse3 -msimd128
else
BASE_OPTS += -msse -msse2 -mfpmath=sse
endif
endif
ifeq ($(CPU_ARM),true)
ifneq ($(CPU_ARM64),true)
BASE_OPTS += -msse -msse2 -msse3 -msimd128
else ifeq ($(CPU_ARM32),true)
BASE_OPTS += -mfpu=neon-vfpv4 -mfloat-abi=hard
endif
else ifeq ($(CPU_I386_OR_X86_64),true)
BASE_OPTS += -mtune=generic -msse -msse2 -mfpmath=sse
endif
ifeq ($(MACOS),true)