commit: b3f6e832aa00a206b101010bf668caa48aaaa7f2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jul 29 14:04:28 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jul 29 14:07:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f6e832
sys-libs/compiler-rt-sanitizers: Fix test failures due to -Werror Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.1.ebuild | 6 ++++++ .../compiler-rt-sanitizers-11.0.0.9999.ebuild | 6 ++++++ .../compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0_rc1.ebuild | 6 ++++++ .../compiler-rt-sanitizers-12.0.0.9999.ebuild | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.1.ebuild index 4039a75fe14..b9be9bf67b8 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-10.0.1.ebuild @@ -56,6 +56,12 @@ pkg_setup() { python-any-r1_pkg_setup } +src_prepare() { + sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die + + llvm.org_src_prepare +} + src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/compiler-rt_build diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild index 006db04567a..cecd595ac6c 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0.9999.ebuild @@ -56,6 +56,12 @@ pkg_setup() { python-any-r1_pkg_setup } +src_prepare() { + sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die + + llvm.org_src_prepare +} + src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/compiler-rt_build diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0_rc1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0_rc1.ebuild index 006db04567a..cecd595ac6c 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0_rc1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-11.0.0_rc1.ebuild @@ -56,6 +56,12 @@ pkg_setup() { python-any-r1_pkg_setup } +src_prepare() { + sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die + + llvm.org_src_prepare +} + src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/compiler-rt_build diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild index 006db04567a..cecd595ac6c 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-12.0.0.9999.ebuild @@ -56,6 +56,12 @@ pkg_setup() { python-any-r1_pkg_setup } +src_prepare() { + sed -i -e 's:-Werror::' lib/tsan/go/buildgo.sh || die + + llvm.org_src_prepare +} + src_configure() { # pre-set since we need to pass it to cmake BUILD_DIR=${WORKDIR}/compiler-rt_build