commit:     14f4da9f9a210bb993ae7e705ca87f06ebd69e7c
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 17:06:10 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> 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}"
                        ;;
                *)
                        ;;

Reply via email to