summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2019-01-19 00:02:16 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2019-01-19 00:02:16 +0000
commit4f85abcb1d3940615dafd0c0a3f37c8daf703044 (patch)
treef66028c7f11066696634d7e37a8eb5413d98fa30
parent8aef1b16b2b008a969c7045bc861b4c2fa396dca (diff)
CXXFLAGS are the correct spelling for c++ options.
ok deraadt millert
-rw-r--r--gnu/usr.bin/clang/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/clang/Makefile.inc b/gnu/usr.bin/clang/Makefile.inc
index 6af6a68d16c..5c5685548c4 100644
--- a/gnu/usr.bin/clang/Makefile.inc
+++ b/gnu/usr.bin/clang/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.11 2019/01/12 23:36:35 naddy Exp $
+# $OpenBSD: Makefile.inc,v 1.12 2019/01/19 00:02:15 tedu Exp $
LLVM_SRCS?= ${.CURDIR}/../../../llvm
@@ -26,10 +26,10 @@ CPPFLAGS+= -DNDEBUG
# Disable some protections in the compiler to regain performance.
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "aarch64"
-CPPFLAGS+= -fno-ret-protector
+CXXFLAGS+= -fno-ret-protector
.endif
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
-CPPFLAGS+= -mno-retpoline
+CXXFLAGS+= -mno-retpoline
.endif
CPPFLAGS+= -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \