More make tweaks, try to always use correct paths

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-07 22:10:47 +00:00
parent 0fc4a61870
commit 7fcb46832c
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
5 changed files with 33 additions and 16 deletions

View file

@ -738,6 +738,7 @@ endif
ifeq ($(SYSDEPS),true)
BASE_FLAGS += -DCARDINAL_SYSDEPS
BASE_FLAGS += $(shell pkg-config --cflags jansson libarchive samplerate speexdsp)
BASE_FLAGS += -I../deps/sysroot
else
BASE_FLAGS += -DZSTDLIB_VISIBILITY=
BASE_FLAGS += -I../src/Rack/dep/include
@ -765,6 +766,11 @@ BASE_FLAGS += -ffat-lto-objects
endif
endif
ifeq ($(BSD),true)
BASE_FLAGS += -D'aligned_alloc_16(ptr)'='aligned_alloc(16,ptr)'
BASE_FLAGS += -D'aligned_free_16(ptr)'='free(ptr)'
endif
ifeq ($(WASM),true)
BASE_FLAGS += -DNANOVG_GLES2=1
BASE_FLAGS += -msse -msse2 -msse3 -msimd128