1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

.cargo/config.toml: set CFLAGS='-std=gnu17'

to make onig compile with GCC 15, which by default uses a newer C
standard (C23)
This commit is contained in:
Daniel Hofstetter 2025-05-16 16:45:19 +02:00 committed by Sylvestre Ledru
parent 6a828f0e74
commit 992e16221c

View file

@ -1,5 +1,9 @@
# spell-checker:ignore CFLAGS
[target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc"
[env]
PROJECT_NAME_FOR_VERSION_STRING = "uutils coreutils"
# TODO remove when there is an onig version > 6.4.0, https://github.com/rust-onig/rust-onig/issues/196
CFLAGS='-std=gnu17'