projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide some warnings on OS X.
[libdcp.git]
/
cscript
diff --git
a/cscript
b/cscript
index 75b42aee3205a8eddb0dd380abc32992434dd384..f2b07d1277949c372e3d5144da12c71477afb298 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-1,7
+1,7
@@
import os
def dependencies(target):
import os
def dependencies(target):
- return (('libcxml', 'v0.1
2.0'), ('openjpeg-cdist', '5d8bffd
'))
+ return (('libcxml', 'v0.1
5.0'), ('openjpeg2-cdist', '63c1932
'))
def build(target, options):
cmd = './waf configure --disable-examples --prefix=%s' % target.directory
def build(target, options):
cmd = './waf configure --disable-examples --prefix=%s' % target.directory
@@
-9,8
+9,10
@@
def build(target, options):
cmd += ' --static'
if target.distro == 'centos':
cmd += ' --disable-tests'
cmd += ' --static'
if target.distro == 'centos':
cmd += ' --disable-tests'
+ if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'):
+ target.append_with_space('CXXFLAGS', '-std=c++11')
elif target.platform == 'windows':
elif target.platform == 'windows':
- cmd += ' --target-windows --disable-
tests
'
+ cmd += ' --target-windows --disable-
gcov
'
elif target.platform == 'osx':
cmd += ' --disable-tests'
elif target.platform == 'osx':
cmd += ' --disable-tests'