Index: tools/precompilation/test_linux.sh |
diff --git a/tools/precompilation/test_linux.sh b/tools/precompilation/test_linux.sh |
index 93de5704e2f314806c1fb1493945eb717af2ed1a..514ac0497bac367f7cd242fa3e3652d8cb2ff1da 100755 |
--- a/tools/precompilation/test_linux.sh |
+++ b/tools/precompilation/test_linux.sh |
@@ -10,6 +10,6 @@ set -ex |
./out/DebugX64/dart_no_snapshot --gen-precompiled-snapshot --package-root=out/DebugX64/packages/ "$1" |
-gcc -m64 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled.S |
+gcc -nostartfiles -m64 -shared -Wl,-soname,libprecompiled.so -o libprecompiled.so precompiled.S |
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD" gdb -ex run --args ./out/DebugX64/dart_precompiled_runtime --run-precompiled-snapshot not_used.dart |