ldc: Remove old workarounds

Closes #48566.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Geod24 2020-01-06 09:28:44 +09:00 committed by FX Coudert
parent 5afd5f9bcd
commit 4153489c84

View file

@ -3,6 +3,7 @@ class Ldc < Formula
homepage "https://wiki.dlang.org/LDC"
url "https://github.com/ldc-developers/ldc/releases/download/v1.19.0/ldc-1.19.0-src.tar.gz"
sha256 "c7056c10ab841762b84ae9ea6ab083b131924d683e1e0d8a18aa496c537213ae"
revision 1
head "https://github.com/ldc-developers/ldc.git", :shallow => false
bottle do
@ -30,11 +31,7 @@ class Ldc < Formula
-DLLVM_ROOT_DIR=#{Formula["llvm"].opt_prefix}
-DINCLUDE_INSTALL_DIR=#{include}/dlang/ldc
-DD_COMPILER=#{buildpath}/ldc-bootstrap/bin/ldmd2
-DLDC_WITH_LLD=OFF
-DRT_ARCHIVE_WITH_LDC=OFF
]
# LDC_WITH_LLD see https://github.com/ldc-developers/ldc/releases/tag/v1.4.0 Known issues
# RT_ARCHIVE_WITH_LDC see https://github.com/ldc-developers/ldc/issues/2350
system "cmake", "..", *args
system "make"