mongodb: Pass OBJCOPY to scons so it does not use it from host

Fixes
objcopy: Unable to recognise the format of the input file `build/opt/mongo/mongos'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Vincent Prince <vincent.prince.fr@gmail.com.com>
This commit is contained in:
Khem Raj 2020-09-14 18:06:22 -07:00
parent a9df2ed0c0
commit e91940073a

View File

@ -60,6 +60,7 @@ EXTRA_OESCONS = "PREFIX=${prefix} \
CXXFLAGS='${CXXFLAGS}' \
TARGET_ARCH=${TARGET_ARCH} \
MONGO_VERSION=${PV} \
OBJCOPY=${OBJCOPY} \
--ssl \
--disable-warnings-as-errors \
--use-system-zlib \