Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/apache2/llvm llvm tool build: fix warning
details: https://anonhg.NetBSD.org/src/rev/a9770bc997c2
branches: trunk
changeset: 376204:a9770bc997c2
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jun 04 17:48:05 2023 +0000
description:
llvm tool build: fix warning
-std=c++14 is for HOST_CXXFLAGS not HOST_CPPFLAGS.
Fixes: cc1: warning: command-line option '-std=c++14' is valid for C++/ObjC++ but not for C
diffstat:
external/apache2/llvm/Makefile.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a6c0bb8d7ae8 -r a9770bc997c2 external/apache2/llvm/Makefile.inc
--- a/external/apache2/llvm/Makefile.inc Sun Jun 04 17:02:06 2023 +0000
+++ b/external/apache2/llvm/Makefile.inc Sun Jun 04 17:48:05 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.7 2023/06/03 21:33:01 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.8 2023/06/04 17:48:05 lukem Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
@@ -36,7 +36,7 @@ HOST_CXXFLAGS+= -O2 -fno-rtti -fno-excep
.if ${HOST_SUPPORTS_MODULES:Uno} == "yes"
HOST_CXXFLAGS+= ${MODULES_CXXFLAGS}
.endif
-HOST_CPPFLAGS+= -std=c++14
+HOST_CXXFLAGS+= -std=c++14
LLVM_TARGETS= x86,powerpc,sparc,aarch64,arm,mips
.else
LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
Home |
Main Index |
Thread Index |
Old Index