Skip to content
Snippets Groups Projects
Commit 89d0d5b5 authored by Abhinav Singh's avatar Abhinav Singh
Browse files

MacOS x86 boost gcc fix for installation

parent 9f614e5f
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,6 @@ else
./bootstrap.sh --with-toolset=$3
fi
mkdir $1/BOOST
# Several flavours
if [ x"$platform" == x"osx" ]; then
......@@ -48,7 +47,11 @@ if [ x"$platform" == x"osx" ]; then
./b2 -a -j $2 install --prefix=$1/BOOST address-model=64 architecture=arm abi=aapcs binary-format=mach-o toolset=$3 -sNO_LZMA=1 -sNO_ZSTD=1
fi
else
./b2 -a -j $2 install --prefix=$1/BOOST address-model=64 architecture=x86 abi=sysv binary-format=mach-o toolset=clang -sNO_LZMA=1 -sNO_ZSTD=1
if [ x"$3" == x"" ]; then
./b2 -a -j $2 install --prefix=$1/BOOST address-model=64 architecture=x86 abi=sysv binary-format=mach-o toolset=clang -sNO_LZMA=1 -sNO_ZSTD=1
else
./b2 -a -j $2 install --prefix=$1/BOOST address-model=64 architecture=x86 abi=sysv binary-format=mach-o toolset=gcc -sNO_LZMA=1 -sNO_ZSTD=1
fi
fi
else
./b2 -a -j $2 install --prefix=$1/BOOST -sNO_LZMA=1 -sNO_ZSTD=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment