commit ec74c41fe03c286e42ed76b3fae747e0afd30598
parent 24f272e4c39a32d244cd004e254b3dfdfb0cd00a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 18 Aug 2019 19:54:07 +0100
Force -std=c99 in GNU-like compilers
This shouldn't be necessary, but some BSD systems don't
follow POSIX and even when the Makefiles begin with
.POSIX they don't use c99.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/config/toolchain/gnu.mk b/config/toolchain/gnu.mk
@@ -9,3 +9,4 @@ ARCHIVE = ar
ARCHIVEFLAGS = -U
NOPIE_CFLAGS = -nopie
NOPIE_LDFLAGS = -nopie
+TOOLCFLAGS = -std=c99