diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-07-04 14:05:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-07-04 14:05:23 +0100 |
commit | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch) | |
tree | 43b0410e62aba677b4b256bc3ffe3fd333d28dbe /sys-devel/llvm/llvm-11.0.0.9999.ebuild | |
parent | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff) |
gentoo resync : 04.07.2020
Diffstat (limited to 'sys-devel/llvm/llvm-11.0.0.9999.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-11.0.0.9999.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-devel/llvm/llvm-11.0.0.9999.ebuild b/sys-devel/llvm/llvm-11.0.0.9999.ebuild index e005e516f322..08addcf459df 100644 --- a/sys-devel/llvm/llvm-11.0.0.9999.ebuild +++ b/sys-devel/llvm/llvm-11.0.0.9999.ebuild @@ -183,7 +183,9 @@ src_prepare() { # manpages don't use markdown if ! use doc; then - sed -i -e '/source_parsers/d' docs/conf.py || die + sed -e "s:, 'recommonmark'::" \ + -e '/markdown/d' \ + -i docs/conf.py || die fi # Verify that the live ebuild is up-to-date @@ -428,6 +430,10 @@ multilib_src_configure() { local CXXFLAGS="${CXXFLAGS} -mno-bmi" fi + # LLVM can have very high memory consumption while linking, + # exhausting the limit on 32-bit linker executable + use x86 && local -x LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory" + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" cmake_src_configure |