Module Name:    src
Committed By:   joerg
Date:           Tue Sep  3 14:54:00 UTC 2013

Modified Files:
        src/external/bsd/llvm/lib/libLLVMSupport: Makefile
        src/external/bsd/llvm/lib/libLLVMX86Disassembler: Makefile

Log Message:
Use CPPFLAGS.src and not COPTS.src to override -std=c++11 flag. The
latter doesn't help make depend.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/llvm/lib/libLLVMSupport/Makefile
cvs rdiff -u -r1.2 -r1.3 \
    src/external/bsd/llvm/lib/libLLVMX86Disassembler/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/libLLVMSupport/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.20 src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.21
--- src/external/bsd/llvm/lib/libLLVMSupport/Makefile:1.20	Mon Sep  2 14:34:56 2013
+++ src/external/bsd/llvm/lib/libLLVMSupport/Makefile	Tue Sep  3 14:54:00 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.20 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.21 2013/09/03 14:54:00 joerg Exp $
 
 LIB=	LLVMSupport
 
@@ -111,7 +111,7 @@ SRCS+=	Host.inc \
 	TimeValue.inc
 
 .for src in ${SRCS:M*.c}
-COPTS.${src}+=	-std=gnu99
+CPPFLAGS.${src}+=	-std=gnu99
 .endfor
 
 .if defined(HOSTLIB)

Index: src/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile
diff -u src/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile:1.2 src/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile:1.3
--- src/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile:1.2	Mon Sep  2 14:34:56 2013
+++ src/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile	Tue Sep  3 14:54:00 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/09/02 14:34:56 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2013/09/03 14:54:00 joerg Exp $
 
 LIB=	LLVMX86Disassembler
 
@@ -13,7 +13,7 @@ SRCS+=	X86Disassembler.cpp \
 	X86DisassemblerDecoder.c
 
 .for src in ${SRCS:M*.c}
-COPTS.${src}+=	-std=gnu99
+CPPFLAGS.${src}+=	-std=gnu99
 .endfor
 
 .if defined(HOSTLIB)

Reply via email to