commit 4b402b6bf10e290fb51d63f131a7bc644080dcf9
parent e7e91a1f03b432341687e5ca1b8fb3ec3eb0124c
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