From 11f08570a582962c8dd8e69afcbc61eb9cd93ca8 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Tue, 9 Nov 2021 11:51:04 +0100 Subject: [PATCH] disable lld support; rel 2 ldc constructs list of linked libraries manually instead of relying on cmake and by doing so constructs incomplete set of libraries --- ldc.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ldc.spec b/ldc.spec index 94e6804..323c2f0 100644 --- a/ldc.spec +++ b/ldc.spec @@ -6,7 +6,7 @@ Summary: LLVM D Compiler Name: ldc Version: 1.28.0 -Release: 1 +Release: 2 # The DMD frontend in dmd/* GPL version 1 or artistic license # The files gen/asmstmt.cpp and gen/asm-*.hG PL version 2+ or artistic license License: BSD @@ -121,6 +121,7 @@ cd build-bootstrap2 -S .. \ -B build \ -DD_COMPILER:PATH=$(pwd)/../build-bootstrap1/bin/ldmd2 \ + -DLDC_WITH_LLD:BOOL=OFF \ %{nil} %{__cmake} --build build cd .. @@ -134,6 +135,7 @@ cd .. %if %{with bootstrap} -DD_COMPILER:PATH=$(pwd)/build-bootstrap2/build/bin/ldmd2 \ %endif + -DLDC_WITH_LLD:BOOL=OFF \ %{nil} %{__cmake} --build build -- 2.44.0