From f58fcf82fcf07a628766c77003a7a813a5fd01f9 Mon Sep 17 00:00:00 2001 From: BernardoGiordano Date: Sun, 16 Sep 2018 16:30:23 +0200 Subject: [PATCH] Build using c++17 --- 3ds/Makefile | 2 +- switch/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3ds/Makefile b/3ds/Makefile index 4c6a1d9..43627f4 100644 --- a/3ds/Makefile +++ b/3ds/Makefile @@ -81,7 +81,7 @@ CFLAGS := -g -Wall -Wextra -Wno-psabi -O2 -mword-relocations \ CFLAGS += $(INCLUDE) -DARM11 -D_3DS -D_GNU_SOURCE=1 -CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++14 +CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++17 ASFLAGS := -g $(ARCH) LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) diff --git a/switch/Makefile b/switch/Makefile index d615117..535be0b 100644 --- a/switch/Makefile +++ b/switch/Makefile @@ -61,7 +61,7 @@ CFLAGS := -g -Wall -O3 -ffunction-sections \ CFLAGS += $(INCLUDE) -D__SWITCH__ -D_GNU_SOURCE=1 -CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++14 +CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++17 ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-no-as-needed,-Map,$(notdir $*.map)