From 980fbdd35a2d260cc88d943567dadf2b0f9e2556 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Tue, 14 Sep 2021 07:41:39 +0200 Subject: [PATCH] swift: no explicit linker (#6429) ld.gold is default and works better than ld --- infra/base-images/base-builder-swift/precompile_swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-builder-swift/precompile_swift b/infra/base-images/base-builder-swift/precompile_swift index 1a21eef5e..ab855a620 100755 --- a/infra/base-images/base-builder-swift/precompile_swift +++ b/infra/base-images/base-builder-swift/precompile_swift @@ -17,7 +17,7 @@ cp /usr/local/bin/llvm-symbolizer-swift $OUT/llvm-symbolizer -export SWIFTFLAGS="-Xswiftc -parse-as-library -Xswiftc -static-stdlib -Xswiftc -use-ld=/usr/bin/ld --static-swift-stdlib" +export SWIFTFLAGS="-Xswiftc -parse-as-library -Xswiftc -static-stdlib --static-swift-stdlib" if [ "$SANITIZER" = "coverage" ] then export SWIFTFLAGS="$SWIFTFLAGS -Xswiftc -profile-generate -Xswiftc -profile-coverage-mapping -Xswiftc -sanitize=fuzzer"