summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJesse Chappell <jesse@essej.net>2005-11-29 06:49:00 +0000
committerJesse Chappell <jesse@essej.net>2005-11-29 06:49:00 +0000
commitd9b463178f20a236c7ff23180f94e76435f2e98a (patch)
tree52c8695b8a6d0e845df61a38e80f62e6521b1229 /SConstruct
parentb1a99f89da52018d3995592eb821f8e4a3c89a28 (diff)
committed fix for cross-endian native wave files
git-svn-id: svn://localhost/trunk/ardour2@146 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 98d422cd8d..c3a46812e3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -651,6 +651,14 @@ if env['VST']:
env.Append(CCFLAGS="-DVST_SUPPORT")
+# check endianness
+if sys.byteorder == "big":
+ print "Host is big endian"
+ env.Append(CCFLAGS="-DWORDS_BIGENDIAN")
+else:
+ print "Host is little endian"
+
+
#
# everybody needs this
#