Browse Source

Attempting to use the static lib with g++ seems to cause issues w/o -fPIC.

master
rayburgemeestre 3 years ago
parent
commit
31d2e451d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      boost/Makefile

+ 1
- 1
boost/Makefile View File

@@ -20,7 +20,7 @@ impl:
mkdir -p target && \
CXX=$$(which c++) ./bootstrap.sh --prefix=$$PWD/target/ --with-toolset=clang && \
./b2 clean && \
./b2 --prefix=$$PWD/target/ toolset=clang cxxflags="-std=c++17 -stdlib=libstdc++" linkflags="-stdlib=libstdc++" --with-program_options \
./b2 --prefix=$$PWD/target/ toolset=clang cxxflags="-std=c++17 -stdlib=libstdc++ -fPIC" linkflags="-stdlib=libstdc++" --with-program_options \
--with-system \
--with-date_time \
--with-thread \

Loading…
Cancel
Save