Update the build flags for the relocator

This commit is contained in:
Maschell 2020-06-25 19:11:49 +02:00
parent 2b733e117a
commit d1a5a7f1c2
1 changed files with 2 additions and 4 deletions

View File

@ -42,10 +42,8 @@ INCLUDES := src
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS := -std=gnu11 -mcpu=750 -meabi -mhard-float -ffast-math \
-O2 -Wall -Wextra -Wno-unused-parameter -Wno-strict-aliasing $(INCLUDE)
CXXFLAGS := -std=gnu++11 -mcpu=750 -meabi -mhard-float -ffast-math \
-O2 -Wall -Wextra -Wno-unused-parameter -Wno-strict-aliasing -std=c++17 $(INCLUDE)
CFLAGS := -g -Wall -O2 -ffunction-sections $(MACHDEP) $(INCLUDE) -D__WIIU__ -D__WUT__
CXXFLAGS := $(CFLAGS) -std=c++17
ASFLAGS := -mregnames
LDFLAGS := -nostartfiles -Wl,--gc-sections