From 3e91716c80839af6fe689adabdee7597061af810 Mon Sep 17 00:00:00 2001 From: profi200 Date: Wed, 15 May 2024 17:03:35 +0200 Subject: [PATCH] c2x --> c23. Supported since gcc 14.1.0. --- arm11/Makefile | 2 +- arm9/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arm11/Makefile b/arm11/Makefile index 93f88b8..a753d9b 100644 --- a/arm11/Makefile +++ b/arm11/Makefile @@ -35,7 +35,7 @@ endif #--------------------------------------------------------------------------------- ARCH := -march=armv6k+vfpv2 -mtune=mpcore -mfloat-abi=hard -mtp=soft -marm -mthumb-interwork -masm-syntax-unified -CFLAGS := $(ARCH) -std=c2x -O2 -gdwarf-4 -flto -mword-relocations \ +CFLAGS := $(ARCH) -std=c23 -O2 -gdwarf-4 -flto -mword-relocations \ -ffunction-sections -fno-math-errno -Wall -Wextra CFLAGS += $(INCLUDE) $(DEFINES) diff --git a/arm9/Makefile b/arm9/Makefile index 93b1441..ec355ae 100644 --- a/arm9/Makefile +++ b/arm9/Makefile @@ -34,7 +34,7 @@ endif #--------------------------------------------------------------------------------- ARCH := -march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mtp=soft -marm -mthumb-interwork -masm-syntax-unified -CFLAGS := $(ARCH) -std=c2x -O2 -gdwarf-4 -flto -mword-relocations \ +CFLAGS := $(ARCH) -std=c23 -O2 -gdwarf-4 -flto -mword-relocations \ -ffunction-sections -Wall -Wextra CFLAGS += $(INCLUDE) $(DEFINES)