commit:     b82227e9968d42658fa52d3742e4a6b3d59e8ffd
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 14 11:50:55 2017 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 11:50:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b82227e9

bootstrap-prefix.sh (stage1 xz): disable-assembler

SuSE 11.1 does have GNU binutils-2.20, choking on crc32_x86.s.

 scripts/bootstrap-prefix.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index df7af9ac90..b290cc90d7 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -757,6 +757,9 @@ bootstrap_gnu() {
        # Gentoo Bug 400831, fails on Ubuntu with libssl-dev installed
        [[ ${PN} == "wget" ]] && myconf="${myconf} --without-ssl"
 
+       # SuSE 11.1 has GNU binutils-2.20, choking on crc32_x86
+       [[ ${PN} == "xz" ]] && myconf="${myconf} --disable-assembler"
+
        # we do not have pkg-config to find lib/libffi-*/include/ffi.h
        [[ ${PN} == "libffi" ]] && 
        sed -i -e '/includesdir =/s/=.*/= $(includedir)/' include/Makefile.in

Reply via email to