Module Name: src
Committed By: riz
Date: Tue Sep 25 17:57:33 UTC 2018
Modified Files:
src/tools/xz-include: Makefile.inc
Log Message:
Add CPPFLAGS+= -std=c99 so tools can build on systems where the
system compiler doesn't default to C99 (eg, NetBSD 6.1).
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tools/xz-include/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/xz-include/Makefile.inc
diff -u src/tools/xz-include/Makefile.inc:1.1 src/tools/xz-include/Makefile.inc:1.2
--- src/tools/xz-include/Makefile.inc:1.1 Tue Sep 25 08:54:58 2018
+++ src/tools/xz-include/Makefile.inc Tue Sep 25 17:57:33 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2018/09/25 08:54:58 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.2 2018/09/25 17:57:33 riz Exp $
XZ_TOPLEVEL:= ${.PARSEDIR}/../../external/public-domain/xz
@@ -6,4 +6,6 @@ NOMAN= # defined
MKREPRO=no # Native toolchain might be unable to do it
MKNLS=no
+CPPFLAGS+= -std=c99
+
.include "${XZ_TOPLEVEL}/Makefile.inc"