This commit is contained in:
Fazana
2021-08-22 13:39:47 +01:00
parent 2469b9e67d
commit ccfa157455
12 changed files with 301 additions and 47 deletions

View File

@@ -402,6 +402,8 @@ export LD_LIBRARY_PATH=./tools
AS := $(CROSS)as
ifeq ($(COMPILER),gcc)
CC := $(CROSS)gcc
$(BUILD_DIR)/actors/%.o: OPT_FLAGS := -O2 -mlong-calls
$(BUILD_DIR)/levels/%.o: OPT_FLAGS := -O2 -mlong-calls
else ifeq ($(COMPILER),clang)
CC := clang
endif