1 |
commit: 7151cb7165bc6e22ae5b1eb968e626cdd734e30e |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 14 22:29:36 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 14 23:10:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7151cb71 |
7 |
|
8 |
app-emulation/wine-proton: filter ssp for mingw |
9 |
|
10 |
Bug: https://bugs.gentoo.org/870136 |
11 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
12 |
|
13 |
app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 4 +++- |
14 |
app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 4 +++- |
15 |
2 files changed, 6 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild |
18 |
index 4d1b0a1aa939..069df0440aa8 100644 |
19 |
--- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild |
20 |
+++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild |
21 |
@@ -242,7 +242,9 @@ src_configure() { |
22 |
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" |
23 |
|
24 |
# use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) |
25 |
- : "${CROSSCFLAGS:=$(CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
26 |
+ : "${CROSSCFLAGS:=$( |
27 |
+ filter-flags '-fstack-protector*' #870136 |
28 |
+ CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
29 |
: "${CROSSLDFLAGS:=$( |
30 |
filter-flags '-fuse-ld=*' |
31 |
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" |
32 |
|
33 |
diff --git a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild |
34 |
index 0df6fada339d..3e08621d9527 100644 |
35 |
--- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild |
36 |
+++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild |
37 |
@@ -242,7 +242,9 @@ src_configure() { |
38 |
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" |
39 |
|
40 |
# use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) |
41 |
- : "${CROSSCFLAGS:=$(CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
42 |
+ : "${CROSSCFLAGS:=$( |
43 |
+ filter-flags '-fstack-protector*' #870136 |
44 |
+ CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
45 |
: "${CROSSLDFLAGS:=$( |
46 |
filter-flags '-fuse-ld=*' |
47 |
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" |