/[gentoo-x86]/eclass/flag-o-matic.eclass
Gentoo

Diff of /eclass/flag-o-matic.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.33 Revision 1.34
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.33 2003/12/31 16:51:35 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.34 2004/01/14 20:32:41 solar Exp $
4# 4#
5# Author Bart Verwilst <verwilst@gentoo.org> 5# Author Bart Verwilst <verwilst@gentoo.org>
6 6
7ECLASS=flag-o-matic 7ECLASS=flag-o-matic
8INHERITED="$INHERITED $ECLASS" 8INHERITED="$INHERITED $ECLASS"
256 return 0 256 return 0
257} 257}
258 258
259etexec-flags() { 259etexec-flags() {
260 has_version 'sys-devel/hardened-gcc' && { 260 has_version 'sys-devel/hardened-gcc' && {
261 if [ ! is-flag -yet_exec ]; then
261 debug-print ">>> appending flags -yet_exec" 262 debug-print ">>> appending flags -yet_exec"
262 append-flags -yet_exec 263 append-flags -yet_exec
263 append-ldflags -yet_exec 264 append-ldflags -yet_exec
265 fi
264 } 266 }
265} 267}
266 268
267fstack-flags() { 269fstack-flags() {
268 has_version 'sys-devel/hardened-gcc' && { 270 has_version 'sys-devel/hardened-gcc' && {
271 if [ ! is-flag -yno_propolice ]; then
269 debug-print ">>> appending flags -yno_propolice" 272 debug-print ">>> appending flags -yno_propolice"
270 append-flags -yno_propolice 273 append-flags -yno_propolice
271 append-ldflags -yno_propolice 274 append-ldflags -yno_propolice
275 fi
272 } 276 }
273} 277}

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20