Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/xz-include Add CPPFLAGS+= -std=c99 so tools can build ...



details:   https://anonhg.NetBSD.org/src/rev/423ff3c20cd6
branches:  trunk
changeset: 433652:423ff3c20cd6
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Sep 25 17:57:33 2018 +0000

description:
Add CPPFLAGS+= -std=c99 so tools can build on systems where the
system compiler doesn't default to C99 (eg, NetBSD 6.1).

diffstat:

 tools/xz-include/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 3c9a805267b6 -r 423ff3c20cd6 tools/xz-include/Makefile.inc
--- a/tools/xz-include/Makefile.inc     Tue Sep 25 16:29:41 2018 +0000
+++ b/tools/xz-include/Makefile.inc     Tue Sep 25 17:57:33 2018 +0000
@@ -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 @@
 MKREPRO=no     # Native toolchain might be unable to do it
 MKNLS=no
 
+CPPFLAGS+=     -std=c99
+
 .include "${XZ_TOPLEVEL}/Makefile.inc"



Home | Main Index | Thread Index | Old Index