[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40806] trunk/blender/SConstruct: revert part of r40800, btools.ENDIAN should be correct, if its not then that needs to be fixed rather then checking on the platform .
Campbell Barton
ideasman42 at gmail.com
Thu Oct 6 01:17:41 CEST 2011
Revision: 40806
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40806
Author: campbellbarton
Date: 2011-10-05 23:17:40 +0000 (Wed, 05 Oct 2011)
Log Message:
-----------
revert part of r40800, btools.ENDIAN should be correct, if its not then that needs to be fixed rather then checking on the platform.
./build_files/scons/tools/btools.py:68 - checkEndian() uses pythons struct which knows the systems native endian and will work unless cross compiling (which afaik isnt dont between different endian systems so far).
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40800
Modified Paths:
--------------
trunk/blender/SConstruct
Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct 2011-10-05 22:43:00 UTC (rev 40805)
+++ trunk/blender/SConstruct 2011-10-05 23:17:40 UTC (rev 40806)
@@ -338,7 +338,7 @@
env['CCFLAGS'].append('-DDISABLE_ELBEEM')
-if btools.ENDIAN == "big" and not env['OURPLATFORM']=='darwin':
+if btools.ENDIAN == "big":
env['CPPFLAGS'].append('-D__BIG_ENDIAN__')
env['CXXFLAGS'].append('-D__BIG_ENDIAN__')
env['CCFLAGS'].append('-D__BIG_ENDIAN__')
More information about the Bf-blender-cvs
mailing list