From 59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 Jun 2012 00:46:51 +0200 Subject: wafsamba/irixcc: add '-c99' option to cc Lets see if this fixes the build on IRIX. metze Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Tue Jun 19 02:42:21 CEST 2012 on sn-devel-104 --- buildtools/wafsamba/irixcc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'buildtools') 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) -- cgit