summaryrefslogtreecommitdiff
path: root/scripts/gcc-goto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gcc-goto.sh')
-rw-r--r--scripts/gcc-goto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh
index 8e82424be7aa..520d16b1ffaf 100644
--- a/scripts/gcc-goto.sh
+++ b/scripts/gcc-goto.sh
@@ -2,4 +2,4 @@
# Test for gcc 'asm goto' suport
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
-echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $1 -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
+echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"