git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e868b
)
wafsamba/irixcc: add '-c99' option to cc
author
Stefan Metzmacher
<metze@samba.org>
Mon, 18 Jun 2012 22:46:51 +0000
(
00:46
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 19 Jun 2012 00:42:20 +0000
(
02:42
+0200)
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
buildtools/wafsamba/irixcc.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/irixcc.py
b/buildtools/wafsamba/irixcc.py
index a7b0a74d87c43024bc1414fbee45af4ca16e9e49..f29f9a0a620bb4b68a6e7e09422f3af63eaffe84 100644
(file)
--- 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)