X-Original-To: alpine-aports@lists.alpinelinux.org Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lists.alpinelinux.org (Postfix) with ESMTP id DB16E5C5757 for ; Sun, 10 Dec 2017 00:18:37 +0000 (GMT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 88569209FE; Sat, 9 Dec 2017 19:18:37 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 09 Dec 2017 19:18:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lochnair.net; h= cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=UVZW9zNkOdqvXE OukYoDP/l70giO3F+wXPFbes0LKiQ=; b=D06/lFqEKr7MC0gyL2tgRSXL3eZMvB BOGABrkeUafopKyE+Sv6Kv2RcD9XDeRPcR0GLhfIKwPHgjPgkkxwZghX6IggH7Vi 0DX5QTQyQ/pY8EgN/FJ8jenf6Zh/Vr8U25L9gdoLkWvCpDpyXvk5dttYeGlk52tv u0Mqw3AP2zw9E= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=UVZW9zNkOdqvXEOukYoDP/l70giO3F+wXPFbes0LKiQ=; b=FKWy4Lo5 y7Tt/rzHw5Pq/xz4oye7ZNj3587xfrI7k/0uU3fhRLK8+wN9M4ZEmAxsFY9S/kL6 cHJEOHprfubScL2JmmAtgQSxZqTOy22g4xFgNHjmMVICoaTQ2+B3s2cz16lfUZP1 HNrDHOFQT5df38Nh3V6TJ5RKn+S8E545yX631n2KAXcrzrNY5i5WXL9ZGWB4ftT7 s741jcU1qRJ8VOaFYdKL95chqi6Ufq6ktEfD62VIxewyRyR0Vk6eFAdX99ew7PL+ +1do/sRWPA/vHAyi5hKM36peTf4IB9dxVFRte9RPvKZhrxfDzzEVPx8CnPtZ74AG 1HP3DJj6YmEqSA== X-ME-Sender: Received: from halyard.svee.in (77.18.134.11.tmi.telenormobil.no [77.18.134.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 9942F24495; Sat, 9 Dec 2017 19:18:36 -0500 (EST) From: Nils Andreas Svee To: alpine-aports@lists.alpinelinux.org Cc: Nils Andreas Svee Subject: [alpine-aports] [PATCH 3/7] main/gcc: disable .gnu_hash on MIPS archs Date: Sun, 10 Dec 2017 01:18:10 +0100 Message-Id: <20171210001814.28762-3-me@lochnair.net> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171210001814.28762-1-me@lochnair.net> References: <20171210001814.28762-1-me@lochnair.net> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- main/gcc/APKBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD index f452f7c35c..83243c2c28 100644 --- a/main/gcc/APKBUILD +++ b/main/gcc/APKBUILD @@ -243,6 +243,11 @@ build() { s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";; esac + case "$CTARGET_ARCH" in + mips*) _hash_style_configure="--with-linker-hash-style=sysv" ;; + *) _hash_style_configure="--with-linker-hash-style=gnu" ;; + esac + case "$CTARGET_LIBC" in musl) # musl does not support mudflap, or libsanitizer @@ -279,6 +284,7 @@ build() { echo " libc_configure=$_libc_configure" echo " cross_configure=$_cross_configure" echo " bootstrap_configure=$_bootstrap_configure" + echo " hash_style_configure=$_hash_style_configure" echo "" mkdir -p "$_builddir" @@ -306,7 +312,7 @@ build() { $_cross_configure \ $_bootstrap_configure \ --with-system-zlib \ - --with-linker-hash-style=gnu + $_hash_style_configure make } -- 2.15.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---