Move -fno-exceptions -fno-rtti to CXXFlags

This commit is contained in:
Maschell 2022-01-27 12:50:37 +01:00
parent 13299660d5
commit 581e7fc40e
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ INCLUDES := src
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS := -g -Wall -O3 -ffunction-sections -fno-exceptions -fno-rtti $(MACHDEP) $(INCLUDE) -D__WIIU__ -D__WUT__
CXXFLAGS := $(CFLAGS) -std=c++20
CFLAGS := -g -Wall -O3 -ffunction-sections $(MACHDEP) $(INCLUDE) -D__WIIU__ -D__WUT__
CXXFLAGS := $(CFLAGS) -std=c++20 -fno-exceptions -fno-rtti
ASFLAGS := -mregnames
LDFLAGS := -nostartfiles -Wl,--gc-sections