summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-20 08:45:42 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-20 12:58:57 +0200
commitb70164bc31854990a97c8010526a1a07e72a11d7 (patch)
tree0ff08f5dbbe4302a88b211cd1dd8c652e42187b8
parenta94bed317881395b68cb06a8c637095ca6c98cd3 (diff)
downloadsamba-b70164bc31854990a97c8010526a1a07e72a11d7.tar.gz
wafsamba/irixcc: next try to inject '-c99' the the build
metze
-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..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'