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).
This commit is contained in:
Campbell Barton
2011-10-05 23:17:40 +00:00
parent 14dd4d19ed
commit bfe27327a0

View File

@@ -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__')