diff --git a/overlay/Makefile b/overlay/Makefile index 5ff03b99..d7cdd369 100644 --- a/overlay/Makefile +++ b/overlay/Makefile @@ -47,7 +47,7 @@ CFLAGS := -g -Wall -O2 -ffunction-sections \ CFLAGS += $(INCLUDE) -D__SWITCH__ -CXXFLAGS := $(CFLAGS) -fno-exceptions -std=gnu++17 +CXXFLAGS := $(CFLAGS) -fno-exceptions -std=gnu++20 ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)