shithub: scc

Download patch

ref: ec74c41fe03c286e42ed76b3fae747e0afd30598
parent: 24f272e4c39a32d244cd004e254b3dfdfb0cd00a
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Aug 18 15:54:07 EDT 2019

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.

--- a/config/toolchain/gnu.mk
+++ b/config/toolchain/gnu.mk
@@ -9,3 +9,4 @@
 ARCHIVEFLAGS = -U
 NOPIE_CFLAGS = -nopie
 NOPIE_LDFLAGS = -nopie
+TOOLCFLAGS = -std=c99