Module Name: src
Committed By: kamil
Date: Fri Aug 3 02:20:21 UTC 2018
Modified Files:
src/external/mit/xorg/lib/libGLU: Makefile
Log Message:
Fix libGLU build with Clang/LLVM
The register keyword is deprecated in newer C++ standards.
Add a compiler flag to disable a warning that is turned into a fatal error.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/mit/xorg/lib/libGLU/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/lib/libGLU/Makefile
diff -u src/external/mit/xorg/lib/libGLU/Makefile:1.17 src/external/mit/xorg/lib/libGLU/Makefile:1.18
--- src/external/mit/xorg/lib/libGLU/Makefile:1.17 Wed Jul 1 15:38:56 2015
+++ src/external/mit/xorg/lib/libGLU/Makefile Fri Aug 3 02:20:20 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2015/07/01 15:38:56 christos Exp $
+# $NetBSD: Makefile,v 1.18 2018/08/03 02:20:20 kamil Exp $
.include <bsd.own.mk>
@@ -158,3 +158,4 @@ COPTS.sampleCompTop.cc+= -O0
.endif
CWARNFLAGS.clang+= -Wno-parentheses -Wno-tautological-compare
+CWARNFLAGS.clang+= -Wno-deprecated-register