configure: switch from -std=gnu99 to -std=gnu11

which is required for u"" unicode string literals used in the USB stack.
gcc allows this even in gnu99, but clang does not.

Change-Id: I1700fe503f20f31ba4704f8bef1ccca45f822620
This commit is contained in:
mojyack 2026-04-20 12:37:05 +09:00
parent 2291aa24f2
commit 44e8d8226a

2
tools/configure vendored
View file

@ -8,7 +8,7 @@
#
# global CC options for all platforms
CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -funit-at-a-time -fno-delete-null-pointer-checks -fno-strict-overflow -fno-common"
CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu11 -funit-at-a-time -fno-delete-null-pointer-checks -fno-strict-overflow -fno-common"
# LD options for the core
LDOPTS=""