summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-19 00:46:51 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-19 02:42:20 +0200
commit59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5 (patch)
tree8b84503b15e57895d7332a98bd460632aadf1b09 /buildtools
parent26e868bfedccbbb670277ef4cf948a39fd071a8c (diff)
downloadsamba-59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5.tar.gz
samba-59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5.tar.bz2
samba-59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5.zip
wafsamba/irixcc: add '-c99' option to cc
Lets see if this fixes the build on IRIX. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 19 02:42:21 CEST 2012 on sn-devel-104
Diffstat (limited to 'buildtools')
-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)