summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2019-01-19 00:02:15 +0000
committertedu <tedu@openbsd.org>2019-01-19 00:02:15 +0000
commit355ab6ea9f45a50db7eafaeba4b6796993477078 (patch)
tree43c9c5b2c5949be7c2490b8a3af9ec08ea7b25f1
parentswitch the default algorithm for the dgst command from MD5 to SHA256 (diff)
downloadwireguard-openbsd-355ab6ea9f45a50db7eafaeba4b6796993477078.tar.xz
wireguard-openbsd-355ab6ea9f45a50db7eafaeba4b6796993477078.zip
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 \