summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2011-03-18 22:39:38 +0000
committerAndreas Proschofsky <suka@gentoo.org>2011-03-18 22:39:38 +0000
commitb304675bbf9461f1c6c0424c26aca17f2ea20a65 (patch)
tree27c99128b77dcd4fe54363fe1942b55be0ba89f4 /app-office/libreoffice
parentVersion bump. Remove old. (diff)
downloadgentoo-2-b304675bbf9461f1c6c0424c26aca17f2ea20a65.tar.gz
gentoo-2-b304675bbf9461f1c6c0424c26aca17f2ea20a65.tar.bz2
gentoo-2-b304675bbf9461f1c6c0424c26aca17f2ea20a65.zip
Some more changes for custom-cflags
(Portage version: 2.2.0_alpha27/cvs/Linux x86_64)
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/ChangeLog6
-rw-r--r--app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild13
2 files changed, 8 insertions, 11 deletions
diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog
index ff79d6ae54ff..8037a6b6062e 100644
--- a/app-office/libreoffice/ChangeLog
+++ b/app-office/libreoffice/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/libreoffice
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.23 2011/03/18 19:41:58 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.24 2011/03/18 22:39:38 suka Exp $
+
+ 18 Mar 2011; Andreas Proschofsky <suka@gentoo.org>
+ libreoffice-3.3.2_rc2.ebuild:
+ Some more changes for custom-cflags
*libreoffice-3.3.2_rc2 (18 Mar 2011)
diff --git a/app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild b/app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild
index 1e7726c1b326..765e66f340d6 100644
--- a/app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild
+++ b/app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild,v 1.1 2011/03/18 19:41:58 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.3.2_rc2.ebuild,v 1.2 2011/03/18 22:39:38 suka Exp $
EAPI="3"
@@ -335,18 +335,11 @@ src_configure() {
# Use multiprocessing by default now, it gets tested by upstream
export JOBS=$(echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/")
- # set allowed flags for libreoffice
- # we really should allow '-g' others to build with debugging flags
- # still need a better check for disk size for that though
- ALLOWED_FLAGS="-pipe -mcpu -march -mtune"
- ALLOWED_FLAGS+=" -fstack-protector -fstack-protector-all"
- ALLOWED_FLAGS+=" -fbounds-checking -fomit-frame-pointer"
- ALLOWED_FLAGS+=" -W* -w"
-
# compiler flags
use custom-cflags || strip-flags
+ use debug || filter-flags "-g*"
+ # silent miscompiles; LO/OOo adds -O2/1/0 where appropriate
filter-flags "-O*"
- append-flags "-w"
if [[ $(gcc-major-version) -lt 4 ]]; then
filter-flags "-fstack-protector"