diff options
author | 2020-10-12 17:21:39 +0000 | |
---|---|---|
committer | 2020-10-12 17:21:39 +0000 | |
commit | b56aa078d0351326fb8a1ccf186b1b4ff60e752e (patch) | |
tree | 9092564f7f90462fbd778d4a098e8b4ac21e2cf4 | |
parent | update retguard list (diff) | |
download | wireguard-openbsd-b56aa078d0351326fb8a1ccf186b1b4ff60e752e.tar.xz wireguard-openbsd-b56aa078d0351326fb8a1ccf186b1b4ff60e752e.zip |
Disable retguard for clang build.
Fixes build on powerpc
-rw-r--r-- | gnu/usr.bin/clang/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/clang/Makefile.inc b/gnu/usr.bin/clang/Makefile.inc index 841c3279b43..5d685acb1b3 100644 --- a/gnu/usr.bin/clang/Makefile.inc +++ b/gnu/usr.bin/clang/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.19 2020/08/03 14:45:22 patrick Exp $ +# $OpenBSD: Makefile.inc,v 1.20 2020/10/12 17:21:39 mortimer Exp $ CLANG_SRCS?= ${.CURDIR}/../../../llvm/clang LLDB_SRCS?= ${.CURDIR}/../../../llvm/lldb @@ -29,7 +29,7 @@ CPPFLAGS+= -DNDEBUG # Disable some protections in the compiler to regain performance. .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" || \ - ${MACHINE_ARCH} == "aarch64" + ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "powerpc" CXXFLAGS+= -fno-ret-protector .endif .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" |