mirror of https://github.com/google/oss-fuzz.git
swift: no explicit linker (#6429)
ld.gold is default and works better than ld
This commit is contained in:
parent
3b1124b6ea
commit
980fbdd35a
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
cp /usr/local/bin/llvm-symbolizer-swift $OUT/llvm-symbolizer
|
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" ]
|
if [ "$SANITIZER" = "coverage" ]
|
||||||
then
|
then
|
||||||
export SWIFTFLAGS="$SWIFTFLAGS -Xswiftc -profile-generate -Xswiftc -profile-coverage-mapping -Xswiftc -sanitize=fuzzer"
|
export SWIFTFLAGS="$SWIFTFLAGS -Xswiftc -profile-generate -Xswiftc -profile-coverage-mapping -Xswiftc -sanitize=fuzzer"
|
||||||
|
|
Loading…
Reference in New Issue