summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2018-06-14 10:27:17 -0400
committerGabriel Russell <gabriel.russell@mongodb.com>2018-06-14 15:02:28 -0400
commit13c65fa47bc60b785bc9c6a90bd68d5167c34ba7 (patch)
tree3e0042f8eae74ba1576b9ba10d1d14b6061d1619 /SConstruct
parenta9ad37bdea390cbf96122382e3a358287b86ac2f (diff)
downloadmongo-13c65fa47bc60b785bc9c6a90bd68d5167c34ba7.tar.gz
SERVER-34006 build android embedded with api version 21
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 087bcba6d69..c26cdfd1429 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2468,8 +2468,10 @@ def doConfigure(myenv):
# On 32-bit systems, we need to define this in order to get access to
# the 64-bit versions of fseek, etc.
+ # except on 32 bit android where it breaks boost
if not conf.CheckTypeSize('off_t', includes="#include <sys/types.h>", expect=8):
- myenv.Append(CPPDEFINES=["_FILE_OFFSET_BITS=64"])
+ if not env.TargetOSIs('android'):
+ myenv.Append(CPPDEFINES=["_FILE_OFFSET_BITS=64"])
conf.Finish()