summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-13 14:26:18 -0400
committerSam James <sam@gentoo.org>2024-03-13 21:04:06 +0000
commite67f79a47f2313b36978783d2d7d2c0bc0b2a13c (patch)
tree54898cc060eea854046f55256cb7a3e7fb6aee48 /dev-embedded/ponyprog
parentapp-arch/dump: mark as LTO-unsafe (diff)
downloadgentoo-e67f79a47f2313b36978783d2d7d2c0bc0b2a13c.tar.gz
gentoo-e67f79a47f2313b36978783d2d7d2c0bc0b2a13c.tar.bz2
gentoo-e67f79a47f2313b36978783d2d7d2c0bc0b2a13c.zip
dev-embedded/ponyprog: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/855272 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded/ponyprog')
-rw-r--r--dev-embedded/ponyprog/ponyprog-3.1.3.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild b/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild
index 2c1f2fd622c7..374c8ea1eee5 100644
--- a/dev-embedded/ponyprog/ponyprog-3.1.3.ebuild
+++ b/dev-embedded/ponyprog/ponyprog-3.1.3.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 udev
+inherit cmake flag-o-matic udev
DESCRIPTION="EEPROM and microcontroller programmer/flasher"
HOMEPAGE="https://github.com/lancos/ponyprog/"
@@ -31,6 +31,15 @@ RDEPEND="${DEPEND}
PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
+src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/855272
+ # https://github.com/lancos/ponyprog/issues/28
+ filter-lto
+
+ cmake_src_configure
+}
+
pkg_postinst() {
udev_reload