From 441191e40b5b11a3367e151c70c905bee5f9d138 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 17 May 2020 20:36:46 +0200 Subject: [PATCH] Fix warning by not using the c++17 flag on c files --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5826cc4..664b7f4 100644 --- a/Makefile +++ b/Makefile @@ -32,12 +32,12 @@ INCLUDES := source #------------------------------------------------------------------------------- # options for code generation #------------------------------------------------------------------------------- -CFLAGS := -g -Wall -O0 -ffunction-sections -std=c++17 \ +CFLAGS := -g -Wall -O0 -ffunction-sections\ $(MACHDEP) CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__ -CXXFLAGS := $(CFLAGS) +CXXFLAGS := $(CFLAGS) -std=c++17 ASFLAGS := -g $(ARCH) LDFLAGS = -g $(ARCH) $(RPXSPECS) --entry=_start -Wl,-Map,$(notdir $*.map)