Last active
April 1, 2020 06:38
-
-
Save serenitii/3af4a6bb5867bee93901169a6aaeef7d to your computer and use it in GitHub Desktop.
Boost Intall with options of -fPIC -std=c++1z
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.bz2 && \ | |
tar xjf boost_1_66_0.tar.bz2 && \ | |
cd boost_1_66_0 && \ | |
sh bootstrap.sh && \ | |
./b2 --reconfigure stage toolset=gcc cxxflags="-std=c++1z -fPIC -O3 -Werror -Wno-unused-local-typedef -Wno-deprecated-declarations -Wno-unused-function" link=static,shared variant=release threading=multi linkflags="-fPIC" \ | |
sudo ./b2 install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment