summaryrefslogtreecommitdiff
path: root/hints/lynxos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/lynxos.sh')
-rw-r--r--hints/lynxos.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/lynxos.sh b/hints/lynxos.sh
index ddffcbe3cc..bde461f27b 100644
--- a/hints/lynxos.sh
+++ b/hints/lynxos.sh
@@ -9,3 +9,6 @@
cc='gcc'
so='none'
usemymalloc='n'
+
+# When LynxOS runs a script with "#!" it sets argv[0] to the script name
+toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'