Переглянути джерело

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

master
rayburgemeestre 3 роки тому
джерело
коміт
31d2e451d1
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      boost/Makefile

+ 1
- 1
boost/Makefile Переглянути файл

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

Завантаження…
Відмінити
Зберегти