scc

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

commit 2d3f8b02e98c3981afbd080d88a75e23bff2b2b4
parent 2d892ddc04b94228741468f7cb99d3e081ca5b72
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 16 Sep 2017 21:39:47 +0200

Add define flags for NetBSD

NetBSD assumes _NETBSD_SOURCE unless you export some oher macro
feature. In our case, we want _ANSI_SOURCE which avoids any
kind of pollution of the namespace.

Diffstat:
config.mk | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/config.mk b/config.mk @@ -31,6 +31,7 @@ MANPREFIX = $(PREFIX)/share/man AS = as # for Plan9 add -D_SUSV2_SOURCE +# for NetBSD add -D_ANSI_SOURCE SCC_CFLAGS = $(MOREFLAGS) \ -g \ $(CFLAGS)