public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2011-11-11  7:06 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2011-11-11  7:06 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    11/11/11 07:06:25

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Test that appended flags are valid. This allows people to add flags that were unsupported in earlier releases without needing to do version checking.

Revision  Changes    Path
1.7                  eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog	10 Nov 2011 19:09:17 -0000	1.6
+++ ChangeLog	11 Nov 2011 07:06:25 -0000	1.7
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.6 2011/11/10 19:09:17 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.7 2011/11/11 07:06:25 dirtyepic Exp $
+
+  11 Nov 2011; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Test that appended flags are valid. This allows people to add flags that were
+  unsupported in earlier releases without needing to do version checking.
 
   10 Nov 2011; Pacho Ramos <pacho@gentoo.org> gtk-sharp-module.eclass:
   gnome-desktop-sharp stuff need gnome-desktop:2, bug #389181 by Kacper



1.157                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.157&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.157&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.156&r2=1.157

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -r1.156 -r1.157
--- flag-o-matic.eclass	8 Oct 2011 18:37:30 -0000	1.156
+++ flag-o-matic.eclass	11 Nov 2011 07:06:25 -0000	1.157
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.156 2011/10/08 18:37:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.157 2011/11/11 07:06:25 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -154,7 +154,7 @@
 # Add extra <flags> to the current CFLAGS.
 append-cflags() {
 	[[ -z $* ]] && return 0
-	export CFLAGS="${CFLAGS} $*"
+	export CFLAGS=$(test-flags-CC ${CFLAGS} $*)
 	return 0
 }
 
@@ -164,7 +164,7 @@
 # Add extra <flags> to the current CXXFLAGS.
 append-cxxflags() {
 	[[ -z $* ]] && return 0
-	export CXXFLAGS="${CXXFLAGS} $*"
+	export CXXFLAGS=$(test-flags-CXX ${CXXFLAGS} $*)
 	return 0
 }
 
@@ -174,8 +174,8 @@
 # Add extra <flags> to the current {F,FC}FLAGS.
 append-fflags() {
 	[[ -z $* ]] && return 0
-	export FFLAGS="${FFLAGS} $*"
-	export FCFLAGS="${FCFLAGS} $*"
+	export FFLAGS=$(test-flags-F77 ${FFLAGS} $*)
+	export FCFLAGS=$(test-flags-FC ${FCFLAGS} $*)
 	return 0
 }
 






^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2011-12-28  5:48 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2011-12-28  5:48 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    11/12/28 05:48:28

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Remove UNSTABLE_FLAGS.  Keyword status should not determine what flags are used.  Move -Os to allowed flags as it's been stable since 4.0ish and drop -O0 because it breaks things a lot.

Revision  Changes    Path
1.61                 eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- ChangeLog	27 Dec 2011 22:40:50 -0000	1.60
+++ ChangeLog	28 Dec 2011 05:48:28 -0000	1.61
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.60 2011/12/27 22:40:50 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.61 2011/12/28 05:48:28 dirtyepic Exp $
+
+  28 Dec 2011; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Remove UNSTABLE_FLAGS. Keyword status should not determine what flags are
+  used. Move -Os to allowed flags as it's been stable since 4.0ish and drop -O0
+  because it breaks things a lot.
 
   27 Dec 2011; Jesus Rivero <neurogeek@gentoo.org> subversion.eclass:
   Handle UUID mismatch by deleting working copy and checking out it again.



1.162                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.162&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.162&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.161&r2=1.162

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- flag-o-matic.eclass	15 Dec 2011 05:23:15 -0000	1.161
+++ flag-o-matic.eclass	28 Dec 2011 05:48:28 -0000	1.162
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.161 2011/12/15 05:23:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.162 2011/12/28 05:48:28 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -34,7 +34,7 @@
 setup-allowed-flags() {
 	if [[ -z ${ALLOWED_FLAGS} ]] ; then
 		export ALLOWED_FLAGS="-pipe"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O0 -O1 -O2 -mcpu -march -mtune"
+		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O1 -O2 -Os -mcpu -march -mtune"
 		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fstack-protector -fstack-protector-all"
 		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fbounds-checking -fno-strict-overflow"
 		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-PIE -fno-pie -fno-unit-at-a-time"
@@ -64,9 +64,6 @@
 	ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fsgsbase -mno-rdrnd -mno-f16c \
 		-mno-bmi -mno-tbm"
 
-	# {C,CXX,F,FC}FLAGS that we are think is ok, but needs testing
-	# NOTE:  currently -Os have issues with gcc3 and K6* arch's
-	export UNSTABLE_FLAGS="-Os -O3 -freorder-blocks"
 	return 0
 }
 
@@ -338,11 +335,6 @@
 	local NEW_FFLAGS=""
 	local NEW_FCFLAGS=""
 
-	# Allow unstable C[XX]FLAGS if we are using unstable profile ...
-	if has "~$(tc-arch)" ${ACCEPT_KEYWORDS} ; then
-		ALLOWED_FLAGS="${ALLOWED_FLAGS} ${UNSTABLE_FLAGS}"
-	fi
-
 	set -f	# disable pathname expansion
 
 	for x in ${CFLAGS}; do






^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2011-12-28  6:28 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2011-12-28  6:28 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    11/12/28 06:28:55

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Clean up setup-allowed-flags().

Revision  Changes    Path
1.62                 eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- ChangeLog	28 Dec 2011 05:48:28 -0000	1.61
+++ ChangeLog	28 Dec 2011 06:28:55 -0000	1.62
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.61 2011/12/28 05:48:28 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.62 2011/12/28 06:28:55 dirtyepic Exp $
+
+  28 Dec 2011; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Clean up setup-allowed-flags().
 
   28 Dec 2011; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
   Remove UNSTABLE_FLAGS. Keyword status should not determine what flags are



1.163                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.163&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.163&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.162&r2=1.163

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -r1.162 -r1.163
--- flag-o-matic.eclass	28 Dec 2011 05:48:28 -0000	1.162
+++ flag-o-matic.eclass	28 Dec 2011 06:28:55 -0000	1.163
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.162 2011/12/28 05:48:28 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.163 2011/12/28 06:28:55 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -32,38 +32,36 @@
 # {C,CXX,F,FC}FLAGS that we allow in strip-flags
 # Note: shell globs and character lists are allowed
 setup-allowed-flags() {
-	if [[ -z ${ALLOWED_FLAGS} ]] ; then
-		export ALLOWED_FLAGS="-pipe"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O1 -O2 -Os -mcpu -march -mtune"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fstack-protector -fstack-protector-all"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fbounds-checking -fno-strict-overflow"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-PIE -fno-pie -fno-unit-at-a-time"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-ident -fpermissive"
-		export ALLOWED_FLAGS="${ALLOWED_FLAGS} -W* -w"
-	fi
+	ALLOWED_FLAGS="-pipe"
+	ALLOWED_FLAGS+=" -O -O1 -O2 -Os -mcpu -march -mtune"
+	ALLOWED_FLAGS+=" -fstack-protector -fstack-protector-all"
+	ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
+	ALLOWED_FLAGS+=" -fno-PIE -fno-pie -fno-unit-at-a-time"
+	ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
+	ALLOWED_FLAGS+=" -fno-ident -fpermissive"
+	ALLOWED_FLAGS+=" -W* -w"
+
 	# allow a bunch of flags that negate features / control ABI
-	ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-stack-protector -fno-stack-protector-all \
-		-fno-strict-aliasing -fno-bounds-checking -fstrict-overflow -fno-omit-frame-pointer"
-	ALLOWED_FLAGS="${ALLOWED_FLAGS} -mregparm -mno-app-regs -mapp-regs \
-		-mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1 \
-		-mno-sse4.2 -mno-avx -mno-aes -mno-pclmul -mno-sse4a -mno-3dnow \
-		-mno-popcnt -mno-abm \
-		-mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -mplt \
+	ALLOWED_FLAGS+=" -fno-stack-protector -fno-stack-protector-all \
+		-fno-strict-aliasing -fno-bounds-checking -fstrict-overflow \
+		-fno-omit-frame-pointer"
+	ALLOWED_FLAGS+=" -mregparm -mno-app-regs -mapp-regs -mno-mmx -mno-sse \
+		-mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 \
+		-mno-avx -mno-aes -mno-pclmul -mno-sse4a -mno-3dnow -mno-popcnt \
+		-mno-abm -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -mplt \
 		-msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu \
 		-mieee -mieee-with-inexact -mschedule -mfloat-gprs -mspe -mno-spe \
-		-mtls-direct-seg-refs -mno-tls-direct-seg-refs \
-		-mflat -mno-flat -mno-faster-structs -mfaster-structs \
-		-m32 -m64 -mx32 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \
-		-mlive-g0 -mcmodel -mstack-bias -mno-stack-bias \
-		-msecure-plt -m*-toc -D* -U*"
+		-mtls-direct-seg-refs -mno-tls-direct-seg-refs -mflat -mno-flat \
+		-mno-faster-structs -mfaster-structs -m32 -m64 -mx32 -mabi \
+		-mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 -mcmodel \
+		-mstack-bias -mno-stack-bias -msecure-plt -m*-toc -D* -U*"
 
 	# 4.5
-	ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fma4 -mno-movbe -mno-xop -mno-lwp"
+	ALLOWED_FLAGS+=" -mno-fma4 -mno-movbe -mno-xop -mno-lwp"
 	# 4.6
-	ALLOWED_FLAGS="${ALLOWED_FLAGS} -mno-fsgsbase -mno-rdrnd -mno-f16c \
-		-mno-bmi -mno-tbm"
+	ALLOWED_FLAGS+=" -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-bmi -mno-tbm"
 
+	export ALLOWED_FLAGS
 	return 0
 }
 






^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2012-06-05  2:07 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2012-06-05  2:07 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    12/06/05 02:07:44

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Add -mfloat-abi=* to ALLOWED_FLAGS (bug #419615 by Hector Martin).

Revision  Changes    Path
1.286                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -r1.285 -r1.286
--- ChangeLog	4 Jun 2012 08:27:42 -0000	1.285
+++ ChangeLog	5 Jun 2012 02:07:44 -0000	1.286
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.285 2012/06/04 08:27:42 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.286 2012/06/05 02:07:44 dirtyepic Exp $
+
+  05 Jun 2012; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Add -mfloat-abi=* to ALLOWED_FLAGS (bug #419615 by Hector Martin).
 
   04 Jun 2012; Ralph Sennhauser <sera@gentoo.org> java-pkg-2.eclass:
   No longer call java-pkg_ensure-test in java-pkg-2_pkg_setup as this is



1.174                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.174&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.174&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.173&r2=1.174

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -r1.173 -r1.174
--- flag-o-matic.eclass	31 May 2012 00:29:06 -0000	1.173
+++ flag-o-matic.eclass	5 Jun 2012 02:07:44 -0000	1.174
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.173 2012/05/31 00:29:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.174 2012/06/05 02:07:44 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -45,7 +45,8 @@
 		-mtls-direct-seg-refs -mno-tls-direct-seg-refs -mflat -mno-flat \
 		-mno-faster-structs -mfaster-structs -m32 -m64 -mx32 -mabi \
 		-mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 -mcmodel \
-		-mstack-bias -mno-stack-bias -msecure-plt -m*-toc -D* -U*"
+		-mstack-bias -mno-stack-bias -msecure-plt -m*-toc -mfloat-abi=* \
+		-D* -U*"
 
 	# 4.5
 	ALLOWED_FLAGS+=" -mno-fma4 -mno-movbe -mno-xop -mno-lwp"






^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2012-06-05  2:16 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2012-06-05  2:16 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    12/06/05 02:16:40

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Update Intel/AMD instruction sets for 4.7.

Revision  Changes    Path
1.287                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -r1.286 -r1.287
--- ChangeLog	5 Jun 2012 02:07:44 -0000	1.286
+++ ChangeLog	5 Jun 2012 02:16:40 -0000	1.287
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.286 2012/06/05 02:07:44 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.287 2012/06/05 02:16:40 dirtyepic Exp $
+
+  05 Jun 2012; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Update Intel/AMD instruction sets for 4.7.
 
   05 Jun 2012; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
   Add -mfloat-abi=* to ALLOWED_FLAGS (bug #419615 by Hector Martin).



1.175                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.175&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.175&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.174&r2=1.175

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -r1.174 -r1.175
--- flag-o-matic.eclass	5 Jun 2012 02:07:44 -0000	1.174
+++ flag-o-matic.eclass	5 Jun 2012 02:16:40 -0000	1.175
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.174 2012/06/05 02:07:44 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.175 2012/06/05 02:16:40 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -52,6 +52,8 @@
 	ALLOWED_FLAGS+=" -mno-fma4 -mno-movbe -mno-xop -mno-lwp"
 	# 4.6
 	ALLOWED_FLAGS+=" -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-bmi -mno-tbm"
+	# 4.7
+	ALLOWED_FLAGS+=" -mno-avx2 -mno-bmi2 -mno-fma -mno-lzcnt"
 
 	export ALLOWED_FLAGS
 	return 0






^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2012-06-18  6:45 Fabian Groffen (grobian)
  0 siblings, 0 replies; 14+ messages in thread
From: Fabian Groffen (grobian) @ 2012-06-18  6:45 UTC (permalink / raw
  To: gentoo-commits

grobian     12/06/18 06:45:28

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Allow header and library paths flags in setup-allowed-flags(), bug #414641

Revision  Changes    Path
1.316                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -r1.315 -r1.316
--- ChangeLog	17 Jun 2012 10:50:20 -0000	1.315
+++ ChangeLog	18 Jun 2012 06:45:28 -0000	1.316
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.315 2012/06/17 10:50:20 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.316 2012/06/18 06:45:28 grobian Exp $
+
+  18 Jun 2012; Fabian Groffen <grobian@gentoo.org> flag-o-matic.eclass:
+  Allow header and library paths flags in setup-allowed-flags(), bug #414641
 
   17 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> myspell-r2.eclass:
   Remove licenses prior copying docs.



1.176                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.176&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.176&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.175&r2=1.176

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -r1.175 -r1.176
--- flag-o-matic.eclass	5 Jun 2012 02:16:40 -0000	1.175
+++ flag-o-matic.eclass	18 Jun 2012 06:45:28 -0000	1.176
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.175 2012/06/05 02:16:40 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.176 2012/06/18 06:45:28 grobian Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -20,7 +20,7 @@
 	echo {C,CPP,CXX,CCAS,F,FC,LD}FLAGS
 }
 
-# {C,CXX,F,FC}FLAGS that we allow in strip-flags
+# {C,CPP,CXX,CCAS,F,FC,LD}FLAGS that we allow in strip-flags
 # Note: shell globs and character lists are allowed
 setup-allowed-flags() {
 	ALLOWED_FLAGS="-pipe"
@@ -55,6 +55,9 @@
 	# 4.7
 	ALLOWED_FLAGS+=" -mno-avx2 -mno-bmi2 -mno-fma -mno-lzcnt"
 
+	# CPPFLAGS and LDFLAGS
+	ALLOWED_FLAGS+=" -I* -L* -R* -Wl,*"
+
 	export ALLOWED_FLAGS
 	return 0
 }
@@ -344,7 +347,8 @@
 
 # @FUNCTION: strip-flags
 # @DESCRIPTION:
-# Strip C[XX]FLAGS of everything except known good/safe flags.
+# Strip *FLAGS of everything except known good/safe flags.  This runs over all
+# flags returned by all_flag_vars().
 strip-flags() {
 	local x y var
 






^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2012-12-20 21:01 Justin Lecher (jlec)
  0 siblings, 0 replies; 14+ messages in thread
From: Justin Lecher (jlec) @ 2012-12-20 21:01 UTC (permalink / raw
  To: gentoo-commits

jlec        12/12/20 21:01:50

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Add fix for nen gnu compiler which use -x as command line arg internally, #445244

Revision  Changes    Path
1.571                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.570
retrieving revision 1.571
diff -u -r1.570 -r1.571
--- ChangeLog	20 Dec 2012 06:34:57 -0000	1.570
+++ ChangeLog	20 Dec 2012 21:01:50 -0000	1.571
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.570 2012/12/20 06:34:57 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.571 2012/12/20 21:01:50 jlec Exp $
+
+  20 Dec 2012; Justin Lecher <jlec@gentoo.org> flag-o-matic.eclass:
+  Add fix for nen gnu compiler which use -x as command line arg internally,
+  #445244
 
   20 Dec 2012; Mike Gilbert <floppym@gentoo.org> python.eclass:
   Remove pypy version mapping table from wrapper scripts. We can add it back if



1.186                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.186&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.186&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.185&r2=1.186

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -r1.185 -r1.186
--- flag-o-matic.eclass	3 Dec 2012 21:20:54 -0000	1.185
+++ flag-o-matic.eclass	20 Dec 2012 21:01:50 -0000	1.186
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.185 2012/12/03 21:20:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.186 2012/12/20 21:01:50 jlec Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -392,8 +392,13 @@
 
 	# use -c so we can test the assembler as well
 	local PROG=$(tc-get${comp})
-	${PROG} "${flag}" -c -o /dev/null -x${lang} - < /dev/null \
-		> /dev/null 2>&1
+	if $( ${PROG} "${flag}" -c -o /dev/null -x${lang} - < /dev/null > /dev/null 2>&1 ); then
+		${PROG} "${flag}" -c -o /dev/null -x${lang} - < /dev/null \
+			> /dev/null 2>&1
+	else
+		${PROG} "${flag}" -c -o /dev/null /dev/null \
+			> /dev/null 2>&1
+	fi
 }
 
 # @FUNCTION: test-flag-CC





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2013-10-27  7:21 Michal Gorny (mgorny)
  0 siblings, 0 replies; 14+ messages in thread
From: Michal Gorny (mgorny) @ 2013-10-27  7:21 UTC (permalink / raw
  To: gentoo-commits

mgorny      13/10/27 07:21:05

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Consider -frecord-gcc-switches a safe flag and do not strip it with strip-flags.

Revision  Changes    Path
1.1036               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1035
retrieving revision 1.1036
diff -u -r1.1035 -r1.1036
--- ChangeLog	26 Oct 2013 17:47:51 -0000	1.1035
+++ ChangeLog	27 Oct 2013 07:21:05 -0000	1.1036
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1035 2013/10/26 17:47:51 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1036 2013/10/27 07:21:05 mgorny Exp $
+
+  27 Oct 2013; Michał Górny <mgorny@gentoo.org> flag-o-matic.eclass:
+  Consider -frecord-gcc-switches a safe flag and do not strip it with
+  strip-flags.
 
   26 Oct 2013; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
   Fix distutils-r1_python_install to strip --install-scripts= rather than



1.191                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.191&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.191&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.190&r2=1.191

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -r1.190 -r1.191
--- flag-o-matic.eclass	12 Oct 2013 19:50:02 -0000	1.190
+++ flag-o-matic.eclass	27 Oct 2013 07:21:05 -0000	1.191
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.190 2013/10/12 19:50:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.191 2013/10/27 07:21:05 mgorny Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -29,7 +29,7 @@
 	ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
 	ALLOWED_FLAGS+=" -fno-PIE -fno-pie -fno-unit-at-a-time"
 	ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
-	ALLOWED_FLAGS+=" -fno-ident -fpermissive"
+	ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
 	ALLOWED_FLAGS+=" -W* -w"
 
 	# allow a bunch of flags that negate features / control ABI





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2013-11-02  3:20 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2013-11-02  3:20 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    13/11/02 03:20:37

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Add -fno-builtin* to ALLOWED_FLAGS - requested by Justin Vrooman.

Revision  Changes    Path
1.1043               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1042
retrieving revision 1.1043
diff -u -r1.1042 -r1.1043
--- ChangeLog	2 Nov 2013 03:17:58 -0000	1.1042
+++ ChangeLog	2 Nov 2013 03:20:37 -0000	1.1043
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1042 2013/11/02 03:17:58 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1043 2013/11/02 03:20:37 dirtyepic Exp $
+
+  02 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Add -fno-builtin* to ALLOWED_FLAGS - requested by Justin Vrooman.
 
   02 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> tests/flag-o-matic.sh:
   Account for leading whitespace in append-cflags tests.



1.192                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.192&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.192&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.191&r2=1.192

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -r1.191 -r1.192
--- flag-o-matic.eclass	27 Oct 2013 07:21:05 -0000	1.191
+++ flag-o-matic.eclass	2 Nov 2013 03:20:37 -0000	1.192
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.191 2013/10/27 07:21:05 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.192 2013/11/02 03:20:37 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -35,7 +35,7 @@
 	# allow a bunch of flags that negate features / control ABI
 	ALLOWED_FLAGS+=" -fno-stack-protector -fno-stack-protector-all \
 		-fno-strict-aliasing -fno-bounds-checking -fstrict-overflow \
-		-fno-omit-frame-pointer"
+		-fno-omit-frame-pointer -fno-builtin*"
 	ALLOWED_FLAGS+=" -mregparm -mno-app-regs -mapp-regs -mno-mmx -mno-sse \
 		-mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 \
 		-mno-avx -mno-aes -mno-pclmul -mno-sse4a -mno-3dnow -mno-popcnt \





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2013-12-27 21:27 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 14+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-12-27 21:27 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/12/27 21:27:38

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  There are usages in the tree of "append-libs $(pkg-config ...)"; if pkg-config returns something other than a library, append-libs can end up inserting -l-L/usr/lib64 or other weirdness. We need to check for these and warn about them.

Revision  Changes    Path
1.1090               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1089
retrieving revision 1.1090
diff -p -w -b -B -u -u -r1.1089 -r1.1090
--- ChangeLog	27 Dec 2013 09:28:41 -0000	1.1089
+++ ChangeLog	27 Dec 2013 21:27:38 -0000	1.1090
@@ -1,6 +1,12 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1089 2013/12/27 09:28:41 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1090 2013/12/27 21:27:38 robbat2 Exp $
+
+  27 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> flag-o-matic.eclass:
+  There are usages in the tree of "append-libs $(pkg-config ...)"; if
+  pkg-config returns something other than a library, append-libs can end up
+  inserting -l-L/usr/lib64 or other weirdness. We need to check for these and
+  warn about them.
 
   27 Dec 2013; Michał Górny <mgorny@gentoo.org> eutils.eclass:
   Document einstalldocs.



1.193                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.193&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.193&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.192&r2=1.193

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.192
retrieving revision 1.193
diff -p -w -b -B -u -u -r1.192 -r1.193
--- flag-o-matic.eclass	2 Nov 2013 03:20:37 -0000	1.192
+++ flag-o-matic.eclass	27 Dec 2013 21:27:38 -0000	1.193
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.192 2013/11/02 03:20:37 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.193 2013/12/27 21:27:38 robbat2 Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -605,7 +605,12 @@ append-libs() {
 	local flag
 	for flag in "$@"; do
 		[[ ${flag} == -l* ]] && flag=${flag#-l}
+		if [[ ${flag} == -* ]]; then
+			eqawarn "Appending non-library to LIBS (${flag}); Other linker flags should be passed via LDFLAGS"
+			export LIBS="${LIBS} ${flag}"
+		else
 		export LIBS="${LIBS} -l${flag}"
+		fi
 	done
 
 	return 0





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2013-12-27 21:39 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 14+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-12-27 21:39 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/12/27 21:39:36

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Per discussion with Flameeyes, make -l and -L always valid, and only warn about other arguments to append-libs. Also document expected arguments to append-libs.

Revision  Changes    Path
1.1091               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1090
retrieving revision 1.1091
diff -p -w -b -B -u -u -r1.1090 -r1.1091
--- ChangeLog	27 Dec 2013 21:27:38 -0000	1.1090
+++ ChangeLog	27 Dec 2013 21:39:36 -0000	1.1091
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1090 2013/12/27 21:27:38 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1091 2013/12/27 21:39:36 robbat2 Exp $
+
+  27 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> flag-o-matic.eclass:
+  Per discussion with Flameeyes, make -l and -L always valid, and only warn
+  about other arguments to append-libs. Also document expected arguments to
+  append-libs.
 
   27 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> flag-o-matic.eclass:
   There are usages in the tree of "append-libs $(pkg-config ...)"; if



1.194                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.194&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.194&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.193&r2=1.194

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.193
retrieving revision 1.194
diff -p -w -b -B -u -u -r1.193 -r1.194
--- flag-o-matic.eclass	27 Dec 2013 21:27:38 -0000	1.193
+++ flag-o-matic.eclass	27 Dec 2013 21:39:36 -0000	1.194
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.193 2013/12/27 21:27:38 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.194 2013/12/27 21:39:36 robbat2 Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -599,18 +599,24 @@ replace-sparc64-flags() {
 # @FUNCTION: append-libs
 # @USAGE: <libs>
 # @DESCRIPTION:
-# Add extra <libs> to the current LIBS.
+# Add extra <libs> to the current LIBS. All arguments should prefixed with
+# either -l or -L.  For compatability, if arguments are not prefixed as
+# options, they are given a -l prefix automatically.
 append-libs() {
 	[[ $# -eq 0 ]] && return 0
 	local flag
 	for flag in "$@"; do
-		[[ ${flag} == -l* ]] && flag=${flag#-l}
-		if [[ ${flag} == -* ]]; then
+		case $flag in
+			-[lL]*) 
+				export LIBS="${LIBS} ${flag}"
+				;;
+			-*) 
 			eqawarn "Appending non-library to LIBS (${flag}); Other linker flags should be passed via LDFLAGS"
 			export LIBS="${LIBS} ${flag}"
-		else
+				;;
+			*)
 			export LIBS="${LIBS} -l${flag}"
-		fi
+		esac
 	done
 
 	return 0





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2013-12-28  0:25 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 14+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-12-28  0:25 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/12/28 00:25:53

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Spelling fixes.

Revision  Changes    Path
1.1094               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1093
retrieving revision 1.1094
diff -p -w -b -B -u -u -r1.1093 -r1.1094
--- ChangeLog	27 Dec 2013 22:47:14 -0000	1.1093
+++ ChangeLog	28 Dec 2013 00:25:53 -0000	1.1094
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1093 2013/12/27 22:47:14 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1094 2013/12/28 00:25:53 robbat2 Exp $
+
+  28 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> flag-o-matic.eclass:
+  Spelling fixes.
 
   27 Dec 2013; Julian Ospald <hasufell@gentoo.org> multilib-minimal.eclass:
   add debug print function wrt #493214



1.195                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.195&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.195&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.194&r2=1.195

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.194
retrieving revision 1.195
diff -p -w -b -B -u -u -r1.194 -r1.195
--- flag-o-matic.eclass	27 Dec 2013 21:39:36 -0000	1.194
+++ flag-o-matic.eclass	28 Dec 2013 00:25:53 -0000	1.195
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.194 2013/12/27 21:39:36 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.195 2013/12/28 00:25:53 robbat2 Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -599,8 +599,8 @@ replace-sparc64-flags() {
 # @FUNCTION: append-libs
 # @USAGE: <libs>
 # @DESCRIPTION:
-# Add extra <libs> to the current LIBS. All arguments should prefixed with
-# either -l or -L.  For compatability, if arguments are not prefixed as
+# Add extra <libs> to the current LIBS. All arguments should be prefixed with
+# either -l or -L.  For compatibility, if arguments are not prefixed as
 # options, they are given a -l prefix automatically.
 append-libs() {
 	[[ $# -eq 0 ]] && return 0





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2014-02-01 18:52 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (dirtyepic) @ 2014-02-01 18:52 UTC (permalink / raw
  To: gentoo-commits

dirtyepic    14/02/01 18:52:32

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Add -fdiagnostics* and ISA flags for 4.8 and 4.9.

Revision  Changes    Path
1.1134               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1133
retrieving revision 1.1134
diff -u -r1.1133 -r1.1134
--- ChangeLog	26 Jan 2014 10:59:07 -0000	1.1133
+++ ChangeLog	1 Feb 2014 18:52:32 -0000	1.1134
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1133 2014/01/26 10:59:07 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1134 2014/02/01 18:52:32 dirtyepic Exp $
+
+  01 Feb 2014; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
+  Add -fdiagnostics* and ISA flags for 4.8 and 4.9.
 
   26 Jan 2014; Sergey Popov <pinkbyte@gentoo.org> myspell-r2.eclass:
   Drop inheriting base eclass, wrt bug #497040



1.196                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.196&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.196&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.195&r2=1.196

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -r1.195 -r1.196
--- flag-o-matic.eclass	28 Dec 2013 00:25:53 -0000	1.195
+++ flag-o-matic.eclass	1 Feb 2014 18:52:32 -0000	1.196
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.195 2013/12/28 00:25:53 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.196 2014/02/01 18:52:32 dirtyepic Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -30,6 +30,7 @@
 	ALLOWED_FLAGS+=" -fno-PIE -fno-pie -fno-unit-at-a-time"
 	ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
 	ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
+	ALLOWED_FLAGS+=" -fdiagnostics*"
 	ALLOWED_FLAGS+=" -W* -w"
 
 	# allow a bunch of flags that negate features / control ABI
@@ -54,6 +55,10 @@
 	ALLOWED_FLAGS+=" -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-bmi -mno-tbm"
 	# 4.7
 	ALLOWED_FLAGS+=" -mno-avx2 -mno-bmi2 -mno-fma -mno-lzcnt"
+	# 4.8
+	ALLOWED_FLAGS+="-mno-fxsr -mno-rtm -mno-xsave -mno-xsaveopt"
+	# 4.9
+	ALLOWED_FLAGS+="-mno-avx512cd -mno-avx512er -mno-avx512f -mno-avx512pf -mno-sha"
 
 	# CPPFLAGS and LDFLAGS
 	ALLOWED_FLAGS+=" -I* -L* -R* -Wl,*"





^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass
@ 2014-06-14  7:34 Ryan Hill (rhill)
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Hill (rhill) @ 2014-06-14  7:34 UTC (permalink / raw
  To: gentoo-commits

rhill       14/06/14 07:34:59

  Modified:             ChangeLog flag-o-matic.eclass
  Log:
  Add -Og, -gdwarf-*, and -fabi=* to allowed flags (bug #512534, #512754).
  Use a glob for -fstack-protector and friends.

Revision  Changes    Path
1.1288               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1287
retrieving revision 1.1288
diff -u -r1.1287 -r1.1288
--- ChangeLog	14 Jun 2014 05:14:55 -0000	1.1287
+++ ChangeLog	14 Jun 2014 07:34:59 -0000	1.1288
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1287 2014/06/14 05:14:55 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1288 2014/06/14 07:34:59 rhill Exp $
+
+  14 Jun 2014; Ryan Hill <rhill@gentoo.org> flag-o-matic.eclass:
+  Add -Og, -gdwarf-*, and -fabi=* to allowed flags (bug #512534, #512754).
+  Use a glob for -fstack-protector and friends.
 
   14 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> flag-o-matic.eclass:
   If you an empty argument to append-libs, you end up with a dangling -l



1.199                eclass/flag-o-matic.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.199&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?rev=1.199&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/flag-o-matic.eclass?r1=1.198&r2=1.199

Index: flag-o-matic.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -r1.198 -r1.199
--- flag-o-matic.eclass	14 Jun 2014 05:14:55 -0000	1.198
+++ flag-o-matic.eclass	14 Jun 2014 07:34:59 -0000	1.199
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.198 2014/06/14 05:14:55 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.199 2014/06/14 07:34:59 rhill Exp $
 
 # @ECLASS: flag-o-matic.eclass
 # @MAINTAINER:
@@ -24,17 +24,17 @@
 # Note: shell globs and character lists are allowed
 setup-allowed-flags() {
 	ALLOWED_FLAGS="-pipe"
-	ALLOWED_FLAGS+=" -O -O1 -O2 -Os -mcpu -march -mtune"
-	ALLOWED_FLAGS+=" -fstack-protector -fstack-protector-all"
+	ALLOWED_FLAGS+=" -O -O1 -O2 -Os -Og -mcpu -march -mtune"
+	ALLOWED_FLAGS+=" -fstack-protector*"
 	ALLOWED_FLAGS+=" -fbounds-checking -fno-strict-overflow"
 	ALLOWED_FLAGS+=" -fno-PIE -fno-pie -fno-unit-at-a-time"
-	ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+"
+	ALLOWED_FLAGS+=" -g -g[0-9] -ggdb -ggdb[0-9] -gdwarf-* gstabs -gstabs+"
 	ALLOWED_FLAGS+=" -fno-ident -fpermissive -frecord-gcc-switches"
 	ALLOWED_FLAGS+=" -fdiagnostics*"
 	ALLOWED_FLAGS+=" -W* -w"
 
 	# allow a bunch of flags that negate features / control ABI
-	ALLOWED_FLAGS+=" -fno-stack-protector -fno-stack-protector-all \
+	ALLOWED_FLAGS+=" -fno-stack-protector* -fabi-version=* \
 		-fno-strict-aliasing -fno-bounds-checking -fstrict-overflow \
 		-fno-omit-frame-pointer -fno-builtin*"
 	ALLOWED_FLAGS+=" -mregparm -mno-app-regs -mapp-regs -mno-mmx -mno-sse \





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-06-14  7:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05  2:07 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog flag-o-matic.eclass Ryan Hill (dirtyepic)
  -- strict thread matches above, loose matches on Subject: below --
2014-06-14  7:34 Ryan Hill (rhill)
2014-02-01 18:52 Ryan Hill (dirtyepic)
2013-12-28  0:25 Robin H. Johnson (robbat2)
2013-12-27 21:39 Robin H. Johnson (robbat2)
2013-12-27 21:27 Robin H. Johnson (robbat2)
2013-11-02  3:20 Ryan Hill (dirtyepic)
2013-10-27  7:21 Michal Gorny (mgorny)
2012-12-20 21:01 Justin Lecher (jlec)
2012-06-18  6:45 Fabian Groffen (grobian)
2012-06-05  2:16 Ryan Hill (dirtyepic)
2011-12-28  6:28 Ryan Hill (dirtyepic)
2011-12-28  5:48 Ryan Hill (dirtyepic)
2011-11-11  7:06 Ryan Hill (dirtyepic)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox