[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28267] trunk/blender/config/linux2-config .py: This fixes largefile (> 4GB) problems in Linux.
Peter Schlaile
peter at schlaile.de
Sun Apr 18 19:26:37 CEST 2010
Revision: 28267
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28267
Author: schlaile
Date: 2010-04-18 19:26:37 +0200 (Sun, 18 Apr 2010)
Log Message:
-----------
This fixes largefile (> 4GB) problems in Linux.
(File browser showing negative file sizes, etc.)
Modified Paths:
--------------
trunk/blender/config/linux2-config.py
Modified: trunk/blender/config/linux2-config.py
===================================================================
--- trunk/blender/config/linux2-config.py 2010-04-18 17:09:35 UTC (rev 28266)
+++ trunk/blender/config/linux2-config.py 2010-04-18 17:26:37 UTC (rev 28267)
@@ -175,10 +175,10 @@
##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
More information about the Bf-blender-cvs
mailing list