mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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 )
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user