summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/xcompile/xcompile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index fdc521338d..42391764c5 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -40,7 +40,7 @@ testcc() {
local tmp_c="$TMPFILE.c"
local tmp_o="$TMPFILE.o"
rm -f "$tmp_c" "$tmp_o"
- echo "_start(void) {}" >"$tmp_c"
+ echo "void _start(void) {}" >"$tmp_c"
"$1" -nostdlib -Werror $2 "$tmp_c" -o "$tmp_o" >/dev/null 2>&1
}