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