diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-29 16:04:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-29 16:07:27 +0200 |
commit | b3f6e832aa00a206b101010bf668caa48aaaa7f2 (patch) | |
tree | 303f2b397129ec18a4c6cdcd1065388b5809227d /sys-libs | |
parent | sys-kernel/gentoo-sources: Clean-up of old kernels (diff) | |
download | gentoo-b3f6e832aa00a206b101010bf668caa48aaaa7f2.tar.gz gentoo-b3f6e832aa00a206b101010bf668caa48aaaa7f2.tar.bz2 gentoo-b3f6e832aa00a206b101010bf668caa48aaaa7f2.zip |
sys-libs/compiler-rt-sanitizers: Fix test failures due to -Werror
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
4 files changed, 24 insertions, 0 deletions
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 4039a75fe149..b9be9bf67b85 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 006db04567ad..cecd595ac6c1 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 006db04567ad..cecd595ac6c1 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 006db04567ad..cecd595ac6c1 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 |