diff options
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 \ |