Revert "wafsamba/irixcc: add '-c99' option to cc"
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Jun 2012 22:14:58 +0000 (00:14 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 Jun 2012 10:58:57 +0000 (12:58 +0200)
This reverts commit 59daf91f397c2ebef283ab9e6ecaabbe9dc58fc5.

Doesn't seem to work :-(

metze

buildtools/wafsamba/irixcc.py

index f29f9a0a620bb4b68a6e7e09422f3af63eaffe84..a7b0a74d87c43024bc1414fbee45af4ca16e9e49 100644 (file)
@@ -17,9 +17,7 @@ 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')
-        cc += ' -c99'
+    if not cc: cc = conf.find_program('cc', var='CC')
     if not cc: conf.fatal('irixcc was not found')
     cc = conf.cmd_to_list(cc)