Simplify makefile a bit

This commit is contained in:
falkTX 2022-08-09 23:39:16 +01:00
parent ec4c65ff37
commit 69072da3c9
4 changed files with 6 additions and 12 deletions

View file

@ -1042,10 +1042,7 @@ 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)'
else ifeq ($(WASM),true)
ifeq ($(BSD)$(WASM),true)
BASE_FLAGS += -D'aligned_alloc_16(ptr)'='aligned_alloc(16,ptr)'
BASE_FLAGS += -D'aligned_free_16(ptr)'='free(ptr)'
endif