projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bdfbb
)
Build with c99.
author
Carl Hetherington
<cth@carlh.net>
Fri, 23 Feb 2018 00:53:15 +0000
(
00:53
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 23 Feb 2018 00:53:15 +0000
(
00:53
+0000)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index e9fd87ee7e082131274bb2b2024f7cb7ad80f908..22fae2219e53894d3c1f947e61439eef1faf1eaf 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-4,6
+4,8
@@
def options(opt):
def configure(conf):
conf.load('compiler_c')
+ conf.env.append_value('CCFLAGS', '-std=c99')
+
conf.check_cfg(package='libavformat', args='--cflags --libs', uselib_store='AVFORMAT', mandatory=True)
conf.check_cfg(package='libavcodec', args='--cflags --libs', uselib_store='AVCODEC', mandatory=True)
conf.check_cfg(package='libavutil', args='--cflags --libs', uselib_store='AVUTIL', mandatory=True)