diff options
author | mortimer <mortimer@cvs.openbsd.org> | 2020-10-12 17:21:40 +0000 |
---|---|---|
committer | mortimer <mortimer@cvs.openbsd.org> | 2020-10-12 17:21:40 +0000 |
commit | 2469af6235830ac1579804ad832a289314a426fb (patch) | |
tree | 21654107354add18bc097b2d880796e9bdffce98 /gnu/usr.bin/clang | |
parent | 2c11ac8dbdbc8600f4c74aaa8ebe7eec5c57c8e5 (diff) |
Disable retguard for clang build.
Fixes build on powerpc
Diffstat (limited to 'gnu/usr.bin/clang')
-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" |