From 758746fe1440a52446978c48c5d92c488d627fa4 Mon Sep 17 00:00:00 2001 From: drahn Date: Wed, 19 May 2021 23:18:40 +0000 Subject: [PATCH] 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@ --- gnu/usr.bin/clang/Makefile.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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= -- 2.20.1