1 |
commit: 1436f8adb49013af4ed0629e04386731767b7bd7 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 6 23:45:37 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 6 23:50:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1436f8ad |
7 |
|
8 |
dev-lang/neko: filter LTO (strict-aliasing) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/855641 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
dev-lang/neko/neko-2.3.0-r1.ebuild | 8 ++++++-- |
14 |
1 file changed, 6 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-lang/neko/neko-2.3.0-r1.ebuild b/dev-lang/neko/neko-2.3.0-r1.ebuild |
17 |
index c078c06afa2c..701f48537ec9 100644 |
18 |
--- a/dev-lang/neko/neko-2.3.0-r1.ebuild |
19 |
+++ b/dev-lang/neko/neko-2.3.0-r1.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=8 |
26 |
|
27 |
-inherit cmake |
28 |
+inherit flag-o-matic cmake |
29 |
|
30 |
DESCRIPTION="Neko is a high-level dynamically typed programming language" |
31 |
HOMEPAGE="https://nekovm.org/" |
32 |
@@ -38,6 +38,10 @@ DEPEND=" |
33 |
RDEPEND="${DEPEND}" |
34 |
|
35 |
src_configure() { |
36 |
+ # -Werror=strict-aliasing warnings, bug #855641 |
37 |
+ filter-lto |
38 |
+ append-flags -fno-strict-aliasing |
39 |
+ |
40 |
local mycmakeargs=( |
41 |
-DRUN_LDCONFIG=OFF |
42 |
-DWITH_NEKOML=ON |