From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D6B801388C1 for ; Tue, 1 Mar 2016 17:06:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22C7BE07FC; Tue, 1 Mar 2016 17:06:31 +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 B743EE07FC for ; Tue, 1 Mar 2016 17:06:30 +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 69B95340896 for ; Tue, 1 Mar 2016 17:06:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE85FCFB for ; Tue, 1 Mar 2016 17:06:22 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1456851970.14f4da9f9a210bb993ae7e705ca87f06ebd69e7c.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 14f4da9f9a210bb993ae7e705ca87f06ebd69e7c X-VCS-Branch: master Date: Tue, 1 Mar 2016 17:06:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d708cb3c-1243-424a-80a2-4a3dc9aaa425 X-Archives-Hash: 528e65c773bf49c076ea1d0cbed54d3d commit: 14f4da9f9a210bb993ae7e705ca87f06ebd69e7c Author: Fabian Groffen gentoo org> AuthorDate: Tue Mar 1 17:06:10 2016 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Mar 1 17:06:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=14f4da9f scripts/bootstrap-prefix.sh: drop workaround for bug #491098 now that we use Clang on OSX scripts/bootstrap-prefix.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 9d71e9b..876d617 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -128,18 +128,15 @@ configure_cflags() { case ${CHOST} in # note: we need CXX for binutils-apple which' ld is c++ - # Clang on OSX defaults to c99 mode, while GCC defaults to gnu89 - # (C90 + extensions). This makes Clang barf on GCC's sources, so - # work around that. Bug #491098 *64-apple* | sparcv9-*-solaris* | x86_64-*-solaris*) - export CC="${CC-gcc} -m64 -std=gnu89" + export CC="${CC-gcc} -m64" export CXX="${CXX-g++} -m64" - export HOSTCC="${CC-gcc} -m64 -std=gnu89" + export HOSTCC="${CC}" ;; i*86-apple-darwin1*) - export CC="${CC-gcc} -m32 -std=gnu89" + export CC="${CC-gcc} -m32" export CXX="${CXX-g++} -m32" - export HOSTCC="${CC-gcc} -m32 -std=gnu89" + export HOSTCC="${CC}" ;; *) ;;