Skip to content

Commit

Permalink
app-misc/logiops: mark as LTO-unsafe
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/924426
Signed-off-by: Eli Schwartz <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
eli-schwartz authored and thesamesam committed Mar 18, 2024
1 parent 0ebc968 commit 3ae26f2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app-misc/logiops/logiops-0.3.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${PN}-v${PV}"

inherit cmake linux-info
inherit cmake flag-o-matic linux-info

DESCRIPTION="An unofficial userspace driver for HID++ Logitech devices"
HOMEPAGE="https://github.com/PixlOne/logiops"
Expand Down Expand Up @@ -43,6 +43,11 @@ pkg_pretend() {
}

src_configure() {
# -Werror=odr
# https://bugs.gentoo.org/924426
# https://github.com/PixlOne/logiops/issues/445
filter-lto

local mycmakeargs=(
-DBUILD_SHARED="ON"
-DBUILD_STATIC="OFF"
Expand Down

0 comments on commit 3ae26f2

Please sign in to comment.