summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-23 23:06:55 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-23 23:06:55 +0000
commit7b596518e911e7eb9ead731311b3e1474ec2e4dd (patch)
tree29dab66abd02dce589b7991f09aba0261b094cba /eclass
parentAdd pkg_setup checks to workaround bug #270953. (diff)
downloadhistorical-7b596518e911e7eb9ead731311b3e1474ec2e4dd.tar.gz
historical-7b596518e911e7eb9ead731311b3e1474ec2e4dd.tar.bz2
historical-7b596518e911e7eb9ead731311b3e1474ec2e4dd.zip
do not strip -fno-omit-frame-pointer #270497 by Mart Raudsepp
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass6
-rw-r--r--eclass/toolchain-binutils.eclass13
2 files changed, 14 insertions, 5 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 46cf21fabef9..87532ab5c5e9 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 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.134 2009/04/05 08:22:29 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.135 2009/05/23 23:06:55 vapier Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -41,7 +41,7 @@ setup-allowed-flags() {
fi
# 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-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-3dnow \
-mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 \
@@ -52,7 +52,7 @@ setup-allowed-flags() {
-m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC \
-mlive-g0 -mcmodel -mstack-bias -mno-stack-bias \
-msecure-plt -m*-toc -D* -U*"
-
+
# {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"
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 9e2bb5d24e1f..695af713e438 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.81 2009/05/10 01:41:33 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.82 2009/05/23 23:06:55 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -68,7 +68,16 @@ add_src_uri() {
}
add_src_uri binutils-${PV}-patches-${PATCHVER}.tar.bz2 ${PATCHVER}
add_src_uri binutils-${PV}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
-add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
+
+case ${ELF2FLT_VER} in
+ cvs:*)
+ inherit cvs
+ ;;
+ git:*)
+ inherit git
+ ;;
+ *) add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER};;
+esac
if version_is_at_least 2.18 ; then
LICENSE="|| ( GPL-3 LGPL-3 )"