shithub: scc

Download patch

ref: 29c364deba578e09e8f91f5551c9b851d953af1e
parent: dc9b022343d45753671f0382c9699aea2584875c
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Sep 17 18:20:03 EDT 2017

Add flags for OpenBSD and FreeBSD in system.mk

--- a/system.mk
+++ b/system.mk
@@ -2,4 +2,17 @@
 SYSCFLAGS = -D_SUSV2_SOURCE
 
 # NetBSD
-AS_CFLAGS = -D_ANSI_SOURCE
+CC1_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+CC2_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+AS_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+
+# OpenBSD
+CC1_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+CC2_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+AS_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+
+# FreeBSD
+CC1_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+CC2_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+AS_CFLAGS = -D_ISOC99_SOURCE -D_ANSI_SOURCE
+