dev-embedded/sdcc: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/924691
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-04-04 00:31:10 -04:00
committed by Sam James
parent a29e18c24e
commit 5392281a66
2 changed files with 14 additions and 4 deletions

View File

@@ -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 autotools
inherit autotools flag-o-matic
if [[ ${PV} == "9999" ]] ; then
ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
@@ -110,6 +110,11 @@ src_prepare() {
}
src_configure() {
# -Werror=odr, -Werror=lto-type-mismatch
# https://bugs.gentoo.org/924691
# https://sourceforge.net/p/sdcc/bugs/3725/
filter-lto
local myeconfargs=(
ac_cv_prog_STRIP=true
--without-ccache

View File

@@ -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 autotools
inherit autotools flag-o-matic
if [[ ${PV} == "9999" ]] ; then
ESVN_REPO_URI="https://svn.code.sf.net/p/sdcc/code/trunk/sdcc"
@@ -95,6 +95,11 @@ src_prepare() {
}
src_configure() {
# -Werror=odr, -Werror=lto-type-mismatch
# https://bugs.gentoo.org/924691
# https://sourceforge.net/p/sdcc/bugs/3725/
filter-lto
local myeconfargs=(
ac_cv_prog_STRIP=true
--without-ccache