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:
authorCampbell Barton <ideasman42@gmail.com>2011-10-06 03:17:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-06 03:17:40 +0400
commitbfe27327a0258c34f9e42e422276f1821e8611af (patch)
tree8920a000f17673c010c9268ffed7ac7a119652b9 /SConstruct
parent14dd4d19ed36cc79efcf3f97d06b2377783dcb5b (diff)
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).
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index b2affe1b6b7..eacf18266f0 100644
--- a/SConstruct
+++ b/SConstruct
@@ -338,7 +338,7 @@ if env['BF_NO_ELBEEM'] == 1:
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__')