diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-06-14 10:27:17 -0400 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2018-06-14 15:02:28 -0400 |
commit | 13c65fa47bc60b785bc9c6a90bd68d5167c34ba7 (patch) | |
tree | 3e0042f8eae74ba1576b9ba10d1d14b6061d1619 /SConstruct | |
parent | a9ad37bdea390cbf96122382e3a358287b86ac2f (diff) | |
download | mongo-13c65fa47bc60b785bc9c6a90bd68d5167c34ba7.tar.gz |
SERVER-34006 build android embedded with api version 21
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
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() |