[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28270] trunk/blender/source/nan_compile. mk: Add support for >2GiB files (as r28267) and some cleanups.

gsr b3d gsr.b3d at infernal-iceberg.com
Sun Apr 18 22:47:05 CEST 2010


Revision: 28270
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28270
Author:   gsrb3d
Date:     2010-04-18 22:47:05 +0200 (Sun, 18 Apr 2010)

Log Message:
-----------
Add support for >2GiB files (as r28267) and some cleanups.

Modified Paths:
--------------
    trunk/blender/source/nan_compile.mk

Modified: trunk/blender/source/nan_compile.mk
===================================================================
--- trunk/blender/source/nan_compile.mk	2010-04-18 18:46:16 UTC (rev 28269)
+++ trunk/blender/source/nan_compile.mk	2010-04-18 20:47:05 UTC (rev 28270)
@@ -82,10 +82,10 @@
         endif
     endif
     ifeq ($(CPU),powerpc)
-        CFLAGS  += -pipe -fPIC -ffast-math -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing
-        CCFLAGS += -pipe -fPIC  -funsigned-char -fno-strict-aliasing
+        CFLAGS  += -pipe -fPIC -mcpu=7450 -mtune=G5 -funsigned-char -fno-strict-aliasing
+        CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
     else
-        CFLAGS  += -pipe -fPIC -ffast-math -funsigned-char
+        CFLAGS  += -pipe -fPIC -funsigned-char
         CCFLAGS += -pipe -fPIC -funsigned-char
     endif
 
@@ -100,7 +100,7 @@
         REL_CFLAGS += -O2
         REL_CCFLAGS += -O2
     endif
-    
+
     CPPFLAGS += -D_THREAD_SAFE -fpascal-strings
 
     ifeq ($(WITH_COCOA), true)
@@ -172,8 +172,8 @@
     CCC ?= g++
 #    CFLAGS += -pipe
 #    CCFLAGS += -pipe
-    CFLAGS  += -pipe -fPIC -funsigned-char -fno-strict-aliasing
-    CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing
+    CFLAGS  += -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+    CCFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
     REL_CFLAGS  += -O2
     REL_CCFLAGS += -O2
     NAN_DEPEND = true
@@ -212,7 +212,7 @@
         #CC  ?= cc
         #CCC ?= CC
     endif
-    
+
     JAVAC = javac
     JAVAH = javah
     CFLAGS  += -pipe -fPIC -funsigned-char -fno-strict-aliasing





More information about the Bf-blender-cvs mailing list