git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a94bed3
)
wafsamba/irixcc: next try to inject '-c99' the the build
author
Stefan Metzmacher
<metze@samba.org>
Wed, 20 Jun 2012 06:45:42 +0000
(08:45 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 20 Jun 2012 10:58:57 +0000
(12:58 +0200)
metze
buildtools/wafsamba/irixcc.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/irixcc.py
b/buildtools/wafsamba/irixcc.py
index a7b0a74d87c43024bc1414fbee45af4ca16e9e49..f3cb451fb0f73f206708ed50749cf450f30431b4 100644
(file)
--- 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'