app-doc/doxygen: do not force -std=libc++ when compiling with clang

Closes: https://bugs.gentoo.org/822615
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
Matthias Maier
2022-05-14 15:37:58 -05:00
parent 179136b4c1
commit 03f0bf4cda
5 changed files with 17 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.8.17-ensure_static_support_libraries.patch"
"${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
"${FILESDIR}/${PN}-1.9.1-header-dep.patch"
"${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
)
DOCS=( LANGUAGE.HOWTO README.md )

View File

@@ -61,6 +61,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
"${FILESDIR}/${PN}-1.9.1-header-dep.patch"
"${FILESDIR}/${P}-xml-static.patch"
"${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
)
DOCS=( LANGUAGE.HOWTO README.md )

View File

@@ -58,6 +58,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-1.8.16-link_with_pthread.patch"
"${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
"${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
)
DOCS=( LANGUAGE.HOWTO README.md )

View File

@@ -58,6 +58,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch"
"${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch"
"${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch"
)
DOCS=( LANGUAGE.HOWTO README.md )

View File

@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3775ed1..b3a1af6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,7 +23,7 @@ option(build_doc "Build user manual (HTML and PDF)" OFF)
option(build_doc_chm "Build user manual (CHM)" OFF)
option(use_sqlite3 "Add support for sqlite3 output [experimental]." OFF)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- option(use_libc++ "Use libc++ as C++ standard library." ON)
+ option(use_libc++ "Use libc++ as C++ standard library." OFF)
endif()
option(use_libclang "Add support for libclang parsing." OFF)
option(static_libclang "Link to a statically compiled version of LLVM/libclang." OFF)