mirror of
https://abf.rosa.ru/djam/libreoffice.git
synced 2025-02-23 18:43:00 +00:00
Allow C preprocessor to work with C++17-specific includes
This commit is contained in:
parent
093e860751
commit
7c24887628
1 changed files with 1 additions and 0 deletions
|
@ -2964,6 +2964,7 @@ export CCACHE_DIR=%{ccachedir}
|
||||||
# -> "argument unused during compilation: '-stdlib=libc++'" ->
|
# -> "argument unused during compilation: '-stdlib=libc++'" ->
|
||||||
# -> -Wno-unused-command-line-argument
|
# -> -Wno-unused-command-line-argument
|
||||||
export CXXFLAGS="$CXXFLAGS -stdlib=libc++ -nostdinc++ -I/usr/include/c++/v1 -Wno-unused-command-line-argument"
|
export CXXFLAGS="$CXXFLAGS -stdlib=libc++ -nostdinc++ -I/usr/include/c++/v1 -Wno-unused-command-line-argument"
|
||||||
|
export CPPFLAGS="$CPPFLAGS -I/usr/include/c++/v1"
|
||||||
# Workaround old system boost being incompatible with C++17 which removed std::auto_ptr
|
# Workaround old system boost being incompatible with C++17 which removed std::auto_ptr
|
||||||
# https://github.com/TRIQS/triqs/issues/523#issuecomment-351960463
|
# https://github.com/TRIQS/triqs/issues/523#issuecomment-351960463
|
||||||
export CXXFLAGS="$CXXFLAGS -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
|
export CXXFLAGS="$CXXFLAGS -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
|
||||||
|
|
Loading…
Add table
Reference in a new issue