Index: tools/precompilation/test_macos.sh |
diff --git a/tools/precompilation/test_macos.sh b/tools/precompilation/test_macos.sh |
index e853b1b69d9ad0bae6c8db9f644d9b6681e9cea6..ed90d1246a36e30e43a21e51f02e058893af9e5e 100755 |
--- a/tools/precompilation/test_macos.sh |
+++ b/tools/precompilation/test_macos.sh |
@@ -10,6 +10,6 @@ set -ex |
./xcodebuild/DebugX64/dart_no_snapshot --gen-precompiled-snapshot --package-root=xcodebuild/DebugX64/packages/ "$1" |
-clang -m64 -dynamiclib -o libprecompiled.dylib precompiled.S |
+clang -nostartfiles -m64 -dynamiclib -o libprecompiled.dylib precompiled.S |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" lldb -- ./xcodebuild/DebugX64/dart_precompiled_runtime --run-precompiled-snapshot not_used.dart |