Revert hack to build clang with -static on riscv64.
authordrahn <drahn@openbsd.org>
Wed, 19 May 2021 23:18:40 +0000 (23:18 +0000)
committerdrahn <drahn@openbsd.org>
Wed, 19 May 2021 23:18:40 +0000 (23:18 +0000)
This 'requirement' was due to a bug in dtors which has been corrected.
reminded by jsg@

gnu/usr.bin/clang/Makefile.inc

index 4928765..208d270 100644 (file)
@@ -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=