Parcourir la source

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

master
rayburgemeestre il y a 3 ans
Parent
révision
31d2e451d1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      boost/Makefile

+ 1
- 1
boost/Makefile Voir le fichier

@@ -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 \

Chargement…
Annuler
Enregistrer