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:28:33 -0400 |
| commit | e730f7c6abee87b6f521b15d730e1044635eb7c6 (patch) | |
| tree | f23de30686f5d0f8d18f514ea5890f3c62bf5669 /SConstruct | |
| parent | 739b98f6717076ad60e0771b68959c0ff73df205 (diff) | |
| download | mongo-e730f7c6abee87b6f521b15d730e1044635eb7c6.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 c447f78cf3f..b76f4876ebd 100644 --- a/SConstruct +++ b/SConstruct @@ -2442,8 +2442,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() |
