diff options
-rw-r--r-- | buildtools/wafsamba/irixcc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/irixcc.py b/buildtools/wafsamba/irixcc.py index a7b0a74d87..f3cb451fb0 100644 --- a/buildtools/wafsamba/irixcc.py +++ b/buildtools/wafsamba/irixcc.py @@ -22,11 +22,13 @@ def find_irixcc(conf): cc = conf.cmd_to_list(cc) try: - if Utils.cmd_output(cc + ['-version']) != '': + if Utils.cmd_output(cc + ['-c99'] + ['-version']) != '': conf.fatal('irixcc %r was not found' % cc) except ValueError: conf.fatal('irixcc -v could not be executed') + conf.env.append_unique('CCFLAGS', '-c99') + v['CC'] = cc v['CC_NAME'] = 'irix' |