Not locked into -O0

This commit is contained in:
Pokechu22 2023-01-23 19:48:41 -08:00
parent 93d4f75b42
commit 982af34da3

View file

@ -31,10 +31,10 @@ INCLUDES := include ../Core/Common .
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -gdwarf-4 -save-temps -O0 -Wall --no-strict-aliasing $(MACHDEP) $(INCLUDE)
CFLAGS = -g -save-temps -O2 -Wall --no-strict-aliasing $(MACHDEP) $(INCLUDE)
CXXFLAGS = -std=c++17 -Wno-register $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -gdwarf-4 -Wl,-Map,$(notdir $@).map
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project