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:
authorPeter Schlaile <peter@schlaile.de>2010-04-18 21:26:37 +0400
committerPeter Schlaile <peter@schlaile.de>2010-04-18 21:26:37 +0400
commitf05a7e70b28b99a49b9ff6053052d086be0863cf (patch)
tree41f1b8494f95c8e5451f3c3a43c7cca038f395bc /config/linux2-config.py
parent748ad6749e31454f2ebf2f9937d68f586b0d1c84 (diff)
This fixes largefile (> 4GB) problems in Linux.
(File browser showing negative file sizes, etc.)
Diffstat (limited to 'config/linux2-config.py')
-rw-r--r--config/linux2-config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/linux2-config.py b/config/linux2-config.py
index 53cad76d612..3951dac2454 100644
--- a/config/linux2-config.py
+++ b/config/linux2-config.py
@@ -175,10 +175,10 @@ CXX = 'g++'
##ifeq ($CPU),alpha)
## CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
-CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
+CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64']
CPPFLAGS = []
-CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
+CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64']
REL_CFLAGS = ['-O2']
REL_CCFLAGS = ['-O2']
##BF_DEPEND = True