Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/
Date: Tue, 01 Mar 2016 17:06:34
Message-Id: 1456851970.14f4da9f9a210bb993ae7e705ca87f06ebd69e7c.grobian@gentoo
1 commit: 14f4da9f9a210bb993ae7e705ca87f06ebd69e7c
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 17:06:10 2016 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 17:06:10 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=14f4da9f
7
8 scripts/bootstrap-prefix.sh: drop workaround for bug #491098 now that we use Clang on OSX
9
10 scripts/bootstrap-prefix.sh | 11 ++++-------
11 1 file changed, 4 insertions(+), 7 deletions(-)
12
13 diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
14 index 9d71e9b..876d617 100755
15 --- a/scripts/bootstrap-prefix.sh
16 +++ b/scripts/bootstrap-prefix.sh
17 @@ -128,18 +128,15 @@ configure_cflags() {
18
19 case ${CHOST} in
20 # note: we need CXX for binutils-apple which' ld is c++
21 - # Clang on OSX defaults to c99 mode, while GCC defaults to gnu89
22 - # (C90 + extensions). This makes Clang barf on GCC's sources, so
23 - # work around that. Bug #491098
24 *64-apple* | sparcv9-*-solaris* | x86_64-*-solaris*)
25 - export CC="${CC-gcc} -m64 -std=gnu89"
26 + export CC="${CC-gcc} -m64"
27 export CXX="${CXX-g++} -m64"
28 - export HOSTCC="${CC-gcc} -m64 -std=gnu89"
29 + export HOSTCC="${CC}"
30 ;;
31 i*86-apple-darwin1*)
32 - export CC="${CC-gcc} -m32 -std=gnu89"
33 + export CC="${CC-gcc} -m32"
34 export CXX="${CXX-g++} -m32"
35 - export HOSTCC="${CC-gcc} -m32 -std=gnu89"
36 + export HOSTCC="${CC}"
37 ;;
38 *)
39 ;;