mirror of
https://abf.rosa.ru/djam/libreoffice.git
synced 2025-02-23 10:32:59 +00:00
W/a old system boost being incompatible with C++17 which removed std::auto_ptr
This commit is contained in:
parent
1b2077412c
commit
9ff20671f2
1 changed files with 3 additions and 0 deletions
|
@ -2971,6 +2971,9 @@ export CCACHE_DIR=%{ccachedir}
|
|||
export CXXFLAGS="$CXXFLAGS -stdlib=libc++ -nostdinc++ -I/usr/include/c++/v1 -Wno-unused-command-line-argument"
|
||||
# Try to avoid overlinkg C code with libc++ by adjusting CXXFLAGS instead of LDFLAGS
|
||||
export CXXFLAGS="$CXXFLAGS -Xlinker -lc++ -Xlinker -lc++abi"
|
||||
# Workaround old system boost being incompatible with C++17 which removed std::auto_ptr
|
||||
# https://github.com/TRIQS/triqs/issues/523#issuecomment-351960463
|
||||
export CXXFLAGS="$CXXFLAGS -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
|
||||
%clang_gcc_wrapper
|
||||
export CPP=""
|
||||
%else
|
||||
|
|
Loading…
Add table
Reference in a new issue