mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/source-highlight: disallow building with LTO
It miscompiles with ODR violations. After elibtoolize, the build fails with the recommended -Werror= flags for lto. Filter out -flto so that users with global lto enabled don't miscompile source-highlight. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -35,6 +35,8 @@ src_configure() {
|
||||
# required as rev-dep of dev-libs/boost-1.62.0
|
||||
# https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI
|
||||
append-cxxflags -std=c++14
|
||||
# ODR violations: https://savannah.gnu.org/bugs/index.php?65086
|
||||
filter-lto
|
||||
|
||||
econf \
|
||||
--with-boost="${EPREFIX}/usr" \
|
||||
|
||||
Reference in New Issue
Block a user