From d6ace2f0efc2df62851bd24e6f6bf33e169a6987 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 23 Jan 2022 22:17:17 +0100 Subject: [PATCH] Move "-fno-exceptions -fno-rtti" from CFLAGS to CXXFLAGS --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4def202..f4d5564 100644 --- a/Makefile +++ b/Makefile @@ -31,12 +31,12 @@ INCLUDES := source #------------------------------------------------------------------------------- # options for code generation #------------------------------------------------------------------------------- -CFLAGS := -Wall -O2 -ffunction-sections -fno-exceptions -fno-rtti\ +CFLAGS := -Wall -O2 -ffunction-sections \ $(MACHDEP) CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__ -CXXFLAGS := $(CFLAGS) -std=c++20 +CXXFLAGS := $(CFLAGS) -std=c++20 -fno-exceptions -fno-rtti ASFLAGS := -g $(ARCH) LDFLAGS = -g $(ARCH) $(RPXSPECS) --entry=_start -Wl,-Map,$(notdir $*.map)