Add -fno-exceptions -fno-rtti to CXXFLAGS instead of CFLAGS

This commit is contained in:
Maschell 2022-02-13 15:02:16 +01:00
parent bd10088784
commit 2eae70a247
1 changed files with 2 additions and 2 deletions

View File

@ -35,14 +35,14 @@ INCLUDES := source \
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS := -Wall -Werror -save-temps -fno-exceptions -fno-rtti\
CFLAGS := -Wall -Werror -save-temps\
-ffunction-sections -fdata-sections \
$(MACHDEP) \
$(BUILD_CFLAGS)
CFLAGS += $(INCLUDE) -D__WIIU__
CXXFLAGS := $(CFLAGS) -std=c++20
CXXFLAGS := $(CFLAGS) -std=c++20 -fno-exceptions -fno-rtti
ASFLAGS := $(MACHDEP)