Module Name: src
Committed By: joerg
Date: Tue Jul 5 17:15:51 UTC 2011
Modified Files:
src/external/bsd/llvm/lib: Makefile
src/tools/llvm-lib: Makefile
Log Message:
Use a different switch to explicitly disable developer-only libraries
for the toolchain build.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/llvm/lib/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tools/llvm-lib/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/bsd/llvm/lib/Makefile
diff -u src/external/bsd/llvm/lib/Makefile:1.8 src/external/bsd/llvm/lib/Makefile:1.9
--- src/external/bsd/llvm/lib/Makefile:1.8 Tue Jul 5 14:15:56 2011
+++ src/external/bsd/llvm/lib/Makefile Tue Jul 5 17:15:51 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/07/05 14:15:56 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2011/07/05 17:15:51 joerg Exp $
.include <bsd.own.mk>
@@ -44,7 +44,7 @@
libLLVMX86TargetInfo \
libLLVMX86Utils
-.if ${LLVM_DEVELOPER:U} == "yes"
+.if ${NO_LLVM_DEVELOPER:Dno} == "yes" && ${LLVM_DEVELOPER:U} == "yes"
SUBDIR+= \
libLLVMArchive \
libLLVMCBackend \
Index: src/tools/llvm-lib/Makefile
diff -u src/tools/llvm-lib/Makefile:1.1 src/tools/llvm-lib/Makefile:1.2
--- src/tools/llvm-lib/Makefile:1.1 Sun Feb 6 01:14:12 2011
+++ src/tools/llvm-lib/Makefile Tue Jul 5 17:15:51 2011
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:12 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2011/07/05 17:15:51 joerg Exp $
.include <bsd.init.mk>
-LLVM_DEVELOPER= no
+NO_LLVM_DEVELOPER= yes
.include "${.PARSEDIR}/../llvm/Makefile.inc"