From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-852576-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C63761384B4 for <garchives@archives.gentoo.org>; Sun, 20 Dec 2015 21:12:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42E5021C06E; Sun, 20 Dec 2015 21:12:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA68421C06E for <gentoo-commits@lists.gentoo.org>; Sun, 20 Dec 2015 21:12:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE6A534070F for <gentoo-commits@lists.gentoo.org>; Sun, 20 Dec 2015 21:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15805B41 for <gentoo-commits@lists.gentoo.org>; Sun, 20 Dec 2015 21:12:20 +0000 (UTC) From: "Mike Frysinger" <vapier@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org> Message-ID: <1450645679.bca0183c33356df09669f19f2b40c20f7de7dc11.vapier@gentoo> Subject: [gentoo-commits] proj/sandbox:master commit in: / X-VCS-Repository: proj/sandbox X-VCS-Files: configure.ac X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: bca0183c33356df09669f19f2b40c20f7de7dc11 X-VCS-Branch: master Date: Sun, 20 Dec 2015 21:12:20 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fc465541-d90b-49d4-b65f-18772cce3169 X-Archives-Hash: 6a37cea2a617586c947ebb33d8eb1d57 commit: bca0183c33356df09669f19f2b40c20f7de7dc11 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Sun Dec 20 21:07:59 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Sun Dec 20 21:07:59 2015 +0000 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=bca0183c build: disable gc-sections on ia64 systems Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b8430dd..18be54b 100644 --- a/configure.ac +++ b/configure.ac @@ -434,7 +434,10 @@ SB_CHECK_CFLAG([-fno-builtin-malloc]) SB_CHECK_CFLAG([-fno-builtin-realloc]) AC_DEFUN([SB_CHECK_LDFLAG],[AX_CHECK_LINK_FLAG([-Wl,$1],[LDFLAGS="$LDFLAGS -Wl,$1"])]) SB_CHECK_LDFLAG([--as-needed]) -SB_CHECK_LDFLAG([--gc-sections]) +dnl Itanium systems do not like this flag, so disable it to avoid warnings. +if test "$host_cpu" != "ia64" ; then + SB_CHECK_LDFLAG([--gc-sections]) +fi case $host_os in dnl bsd is dumb (environ) *linux*) SB_CHECK_LDFLAG([--no-undefined]) ;;