mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/librime-lua: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/940793 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI="8"
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit cmake lua-single
|
||||
inherit cmake flag-o-matic lua-single
|
||||
|
||||
if [[ "${PV}" == "99999999999999" ]]; then
|
||||
inherit git-r3
|
||||
@@ -47,3 +47,13 @@ src_prepare() {
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://bugs.gentoo.org/940793
|
||||
# https://github.com/hchunhui/librime-lua/issues/412
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI="8"
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit cmake lua-single
|
||||
inherit cmake flag-o-matic lua-single
|
||||
|
||||
if [[ "${PV}" == "99999999999999" ]]; then
|
||||
inherit git-r3
|
||||
@@ -46,3 +46,13 @@ src_prepare() {
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://bugs.gentoo.org/940793
|
||||
# https://github.com/hchunhui/librime-lua/issues/412
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user