Skip to content

Commit

Permalink
swift: no explicit linker (google#6429)
Browse files Browse the repository at this point in the history
ld.gold is default and works better than ld
  • Loading branch information
catenacyber authored Sep 14, 2021
1 parent 3b1124b commit 980fbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/base-images/base-builder-swift/precompile_swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 980fbdd

Please sign in to comment.