summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/gspiceui/ChangeLog5
-rw-r--r--sci-electronics/gspiceui/gspiceui-1.1.0.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/sci-electronics/gspiceui/ChangeLog b/sci-electronics/gspiceui/ChangeLog
index 834b839f8a0d..33c0d3a89ad4 100644
--- a/sci-electronics/gspiceui/ChangeLog
+++ b/sci-electronics/gspiceui/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-electronics/gspiceui
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.10 2015/07/04 07:09:07 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.11 2015/07/06 14:02:19 tomjbe Exp $
+
+ 06 Jul 2015; Thomas Beierlein <tomjbe@gentoo.org> gspiceui-1.1.0.ebuild:
+ Dropping down to -O1 (bug #553968). Respect CXX
*gspiceui-1.1.0 (04 Jul 2015)
diff --git a/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild b/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
index 7cfff2e66699..a5ee5dbf0bec 100644
--- a/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
+++ b/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild,v 1.1 2015/07/04 07:09:07 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.1.0.ebuild,v 1.2 2015/07/06 14:02:19 tomjbe Exp $
EAPI="5"
WX_GTK_VER="3.0"
-inherit eutils wxwidgets
+inherit eutils flag-o-matic toolchain-funcs wxwidgets
MY_P="${PN}-v${PV}0"
@@ -38,6 +38,13 @@ src_prepare() {
# Adjusting call to gwave program
sed -i -e "s/gwave2/gwave/g" src/TypeDefs.hpp || die
+
+ # bug 553968
+ replace-flags -O? -O1
+}
+
+src_compile() {
+ emake CXX=$(tc-getCXX)
}
src_install() {