Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-07 19:24:06 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-07 19:24:06 +0400
commitefb58cdab9315175079b3288046addb160882258 (patch)
tree406d9dd2ecead65e55e13a164dcebd26f46ff3c1 /config/linux2-config.py
parentbe1846bcf68636628b60e5b958a6b41e41b3f5a0 (diff)
Fix #22219: compile error with videotexture/libavutil and recent gcc,
need __STDC_CONSTANT_MACROS defined.
Diffstat (limited to 'config/linux2-config.py')
-rw-r--r--config/linux2-config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/linux2-config.py b/config/linux2-config.py
index 213c20bd7d0..7a350a74ed5 100644
--- a/config/linux2-config.py
+++ b/config/linux2-config.py
@@ -181,6 +181,9 @@ CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFIL
CPPFLAGS = []
CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64']
+if WITH_BF_FFMPEG:
+ # libavutil needs UINT64_C()
+ CXXFLAGS += ['-D__STDC_CONSTANT_MACROS', ]
REL_CFLAGS = ['-O2']
REL_CCFLAGS = ['-O2']
##BF_DEPEND = True