Procházet zdrojové kódy

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

master
rayburgemeestre před 3 roky
rodič
revize
31d2e451d1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      boost/Makefile

+ 1
- 1
boost/Makefile Zobrazit soubor

mkdir -p target && \ mkdir -p target && \
CXX=$$(which c++) ./bootstrap.sh --prefix=$$PWD/target/ --with-toolset=clang && \ CXX=$$(which c++) ./bootstrap.sh --prefix=$$PWD/target/ --with-toolset=clang && \
./b2 clean && \ ./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-system \
--with-date_time \ --with-date_time \
--with-thread \ --with-thread \

Načítá se…
Zrušit
Uložit