diff options
author | Christian Heim <phreak@gentoo.org> | 2007-10-10 19:27:27 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-10-10 19:27:27 +0000 |
commit | 0d54c4665357200944c64712c8c896eab733199c (patch) | |
tree | 6dcba6f9ebd5c19f86f0399913f9ee9814ae1880 /dev-util/cmake/cmake-2.4.6-r1.ebuild | |
parent | Added ~ppc64; bug #189993 (diff) | |
download | historical-0d54c4665357200944c64712c8c896eab733199c.tar.gz historical-0d54c4665357200944c64712c8c896eab733199c.tar.bz2 historical-0d54c4665357200944c64712c8c896eab733199c.zip |
Fixing #156800 by issuing -fno-stack-protector if we are having a GCC_MAJOR equal to 3.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-util/cmake/cmake-2.4.6-r1.ebuild')
-rw-r--r-- | dev-util/cmake/cmake-2.4.6-r1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/cmake/cmake-2.4.6-r1.ebuild b/dev-util/cmake/cmake-2.4.6-r1.ebuild index 08a076565075..3b3c63a42d25 100644 --- a/dev-util/cmake/cmake-2.4.6-r1.ebuild +++ b/dev-util/cmake/cmake-2.4.6-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.4.6-r1.ebuild,v 1.9 2007/06/26 18:10:09 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.4.6-r1.ebuild,v 1.10 2007/10/10 19:27:27 phreak Exp $ -inherit elisp-common toolchain-funcs eutils versionator qt3 +inherit elisp-common toolchain-funcs eutils versionator qt3 flag-o-matic DESCRIPTION="Cross platform Make" HOMEPAGE="http://www.cmake.org/" @@ -24,6 +24,11 @@ VIMFILE="${PN}.vim" src_compile() { cd ${S} + + if [ "$(gcc-major-version)" -eq "3" ] ; then + append-flags "-fno-stack-protector" + fi + tc-export CC CXX LD ./bootstrap \ --prefix=/usr \ |