From a2dededf648eeb28c8b25264a7489d93e33778c5 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 30 Jan 2022 13:55:58 +0100 Subject: [PATCH] Only use `-fno-exceptions -fno-rtti` flags for c files --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c14d513..d8eb196 100644 --- a/Makefile +++ b/Makefile @@ -31,12 +31,12 @@ INCLUDES := source #------------------------------------------------------------------------------- # options for code generation #------------------------------------------------------------------------------- -CFLAGS := -g -Wall -O2 -ffunction-sections -fno-exceptions -fno-rtti\ +CFLAGS := -g -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 ifeq ($(DEBUG),1) CXXFLAGS += -DDEBUG -g