summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2008-12-24 15:41:06 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2008-12-24 15:41:06 +0000
commitc2e0f9881247b25da8f9568bb3f4adb5ca9d8ef2 (patch)
tree081cbc2521d75ebabbd472d5d3d0a0756ca34a11 /eclass
parentfixes to ensure we die on failure of some files. fix paths to migration script (diff)
downloadgentoo-2-c2e0f9881247b25da8f9568bb3f4adb5ca9d8ef2.tar.gz
gentoo-2-c2e0f9881247b25da8f9568bb3f4adb5ca9d8ef2.tar.bz2
gentoo-2-c2e0f9881247b25da8f9568bb3f4adb5ca9d8ef2.zip
Disable stripping in cmake fashion, we do it on portage side later and we dont need it done by cmake itself. Fixes bug #251304.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake-utils.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 9f15f2cddd45..85d879ebcc37 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.15 2008/11/05 20:59:37 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.16 2008/12/24 15:41:06 scarabeus Exp $
# @ECLASS: cmake-utils.eclass
# @MAINTAINER:
@@ -116,7 +116,7 @@ cmake-utils_src_configurein() {
debug-print-function $FUNCNAME $*
_common_configure_code
- local cmakeargs="${mycmakeargs} ${EXTRA_ECONF}"
+ local cmakeargs="${mycmakeargs} ${EXTRA_ECONF} -DCMAKE_INSTALL_DO_STRIP=OFF"
debug-print "$LINENO $ECLASS $FUNCNAME: mycmakeargs is $cmakeargs"
cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} . || die "Cmake failed"
@@ -130,7 +130,7 @@ cmake-utils_src_configureout() {
debug-print-function $FUNCNAME $*
_common_configure_code
- local cmakeargs="${mycmakeargs} ${EXTRA_ECONF}"
+ local cmakeargs="${mycmakeargs} ${EXTRA_ECONF} -DCMAKE_INSTALL_DO_STRIP=OFF"
mkdir -p "${WORKDIR}"/${PN}_build
pushd "${WORKDIR}"/${PN}_build > /dev/null