Browse Source

Switch boost to g++ again, see if that helps building it correctly.

master
Ray Burgemeestre 5 years ago
parent
commit
5200dd1fbe
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      boost/Makefile

+ 2
- 1
boost/Makefile View File

@@ -16,8 +16,9 @@ impl:
mkdir -p target && \
CXX=$$(which c++) ./bootstrap.sh --prefix=$$PWD/target/ --with-toolset=clang && \
./b2 clean && \
./b2 --prefix=/usr/local/src/starcry/boost_1_68_0/target/ toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++" || true
./b2 --with-program_options --prefix=$$PWD/target/ toolset=clang
# ^ ||true because with clang I saw a few libraries not compile correctly, we can ignore those.
#./b2 --with-program_options --prefix=$$PWD/target/ toolset=clang cxxflags="-stdlib=libc++ -std=c++17" linkflags="-stdlib=libc++"

package:
rm -rf out

Loading…
Cancel
Save