summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-07-31 19:29:33 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-07-31 23:14:16 -0400
commitf30e7f7f7319330640d9fc44c10909f482c278da (patch)
tree76b9b5b0c209a3bdfdfd02e53e8f75eca11cab66 /sci-visualization
parentdev-python/cfn-lint: Bump to 1.9.2 (diff)
downloadgentoo-f30e7f7f7319330640d9fc44c10909f482c278da.tar.gz
gentoo-f30e7f7f7319330640d9fc44c10909f482c278da.tar.bz2
gentoo-f30e7f7f7319330640d9fc44c10909f482c278da.zip
sci-visualization/gle: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/927779 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gle/gle-4.3.4-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-visualization/gle/gle-4.3.4-r1.ebuild b/sci-visualization/gle/gle-4.3.4-r1.ebuild
index 38c0f6b7b18f..4eeeda66df9f 100644
--- a/sci-visualization/gle/gle-4.3.4-r1.ebuild
+++ b/sci-visualization/gle/gle-4.3.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake elisp-common
+inherit cmake elisp-common flag-o-matic
DESCRIPTION="Graphics Layout Engine"
HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/"
@@ -43,6 +43,11 @@ PATCHES=( "${FILESDIR}"/license.patch "${FILESDIR}"/tiff.patch )
SITEFILE="64${PN}-gentoo.el"
src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/927779
+ # https://github.com/vlabella/GLE/issues/35
+ filter-lto
+
local mycmakeargs=(
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
)