summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/irixcc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/irixcc.py b/buildtools/wafsamba/irixcc.py
index a7b0a74d87..f29f9a0a62 100644
--- a/buildtools/wafsamba/irixcc.py
+++ b/buildtools/wafsamba/irixcc.py
@@ -17,7 +17,9 @@ def find_irixcc(conf):
cc = None
if v['CC']: cc = v['CC']
elif 'CC' in conf.environ: cc = conf.environ['CC']
- if not cc: cc = conf.find_program('cc', var='CC')
+ if not cc:
+ cc = conf.find_program('cc', var='CC')
+ cc += ' -c99'
if not cc: conf.fatal('irixcc was not found')
cc = conf.cmd_to_list(cc)