summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-06 17:00:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-06 17:00:53 +0000
commit12446dd4391294780a3cb57294b069b0cca4c12e (patch)
tree48a41e081105e437d1352a4f06ee05abc29bf7ec /SConstruct
parenta0ad7177f6989301f695c90eea3c4d0fbc0d262a (diff)
move largefile and reentrant compiler flags up to the top level, rather than being libardour-specific
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7071 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 93b02296c7..2a9322445e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -854,6 +854,12 @@ env.Append(CCFLAGS='-DPROGRAM_NAME=\\"' + env['PROGRAM_NAME'] + '\\"')
env.Append(CXXFLAGS='-DPROGRAM_NAME=\\"' + env['PROGRAM_NAME'] + '\\"')
#
+# we deal with threads and big files
+#
+env.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64")
+env.Append(CXXFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64")
+
+#
# fix scons nitpickiness on APPLE
#