scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit c74695c0916e15af8fe164f4f912df917155ce69
parent 340c62a644c9d6a3844edd48c1681adaa4c2cad2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 17 Sep 2017 22:20:03 +0200

Add flags for OpenBSD and FreeBSD in system.mk

Diffstat:
Msystem.mk | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git 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 +