From: drahn Date: Wed, 19 May 2021 23:18:40 +0000 (+0000) Subject: Revert hack to build clang with -static on riscv64. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=758746fe1440a52446978c48c5d92c488d627fa4;p=openbsd Revert hack to build clang with -static on riscv64. This 'requirement' was due to a bug in dtors which has been corrected. reminded by jsg@ --- diff --git a/gnu/usr.bin/clang/Makefile.inc b/gnu/usr.bin/clang/Makefile.inc index 4928765acb4..208d27059ae 100644 --- a/gnu/usr.bin/clang/Makefile.inc +++ b/gnu/usr.bin/clang/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.23 2021/05/14 02:29:00 drahn Exp $ +# $OpenBSD: Makefile.inc,v 1.24 2021/05/19 23:18:40 drahn Exp $ CLANG_SRCS?= ${.CURDIR}/../../../llvm/clang LLDB_SRCS?= ${.CURDIR}/../../../llvm/lldb @@ -16,10 +16,6 @@ CC= egcc CXX= eg++ .endif -.if ${MACHINE_ARCH} == "riscv64" -LDSTATIC=-static -.endif - DEBUG= NOPIE=