vapier      15/07/17 07:36:00

  Modified:             toolchain.eclass
  Log:
  use --enable-checking=no w/gcc-3.4 as "release" was not added until gcc-4.0 
#551636 by Samuel Bauer

Revision  Changes    Path
1.676                eclass/toolchain.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.676&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.676&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.675&r2=1.676

Index: toolchain.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
retrieving revision 1.675
retrieving revision 1.676
diff -u -r1.675 -r1.676
--- toolchain.eclass    1 Jun 2015 16:05:43 -0000       1.675
+++ toolchain.eclass    17 Jul 2015 07:36:00 -0000      1.676
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.675 2015/06/01 
16:05:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.676 2015/07/17 
07:36:00 vapier Exp $
 
 # Maintainer: Toolchain Ninjas <[email protected]>
 
@@ -882,7 +882,9 @@
        # Use the default ("release") checking because upstream usually neglects
        # to test "disabled" so it has a history of breaking. #317217
        if tc_version_is_at_least 3.4 ; then
-               confgcc+=( --enable-checking="${GCC_CHECKS_LIST:-$(usex debug 
yes release)}" )
+               # The "release" keyword is new to 4.0. #551636
+               local off=$(tc_version_is_at_least 4.0 && echo release || echo 
no)
+               confgcc+=( --enable-checking="${GCC_CHECKS_LIST:-$(usex debug 
yes ${off})}" )
        fi
 
        # Branding




Reply via email to