mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
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:
parent
2291aa24f2
commit
44e8d8226a
1 changed files with 1 additions and 1 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
|
@ -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=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue