commit:     c3dbb1d1feb598b2f35caae200a202389d6bee4a
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 19:17:04 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 19:27:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3dbb1d1

app-emulation/wine-staging: respect CROSS*FLAGS again

Oops, overlooked while changing this around -- albeit
likely scarcely used when it otherwise use CFLAGS anyway.

Now with more syntax highlighting confusion for vim.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-staging/wine-staging-8.13.ebuild | 8 ++++----
 app-emulation/wine-staging/wine-staging-9999.ebuild | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-emulation/wine-staging/wine-staging-8.13.ebuild 
b/app-emulation/wine-staging/wine-staging-8.13.ebuild
index 3a7cda74ca11..d27aaaf1b5d2 100644
--- a/app-emulation/wine-staging/wine-staging-8.13.ebuild
+++ b/app-emulation/wine-staging/wine-staging-8.13.ebuild
@@ -311,7 +311,7 @@ src_configure() {
                        ac_cv_prog_x86_64_CC="${mingwcc_amd64}"
                        ac_cv_prog_i386_CC="${mingwcc_x86}"
 
-                       CROSSCFLAGS="$(
+                       CROSSCFLAGS="${CROSSCFLAGS:-$(
                                filter-flags '-fstack-protector*' #870136
                                filter-flags '-mfunction-return=thunk*' #878849
 
@@ -322,13 +322,13 @@ src_configure() {
                                use custom-cflags || append-cflags -mno-avx
 
                                CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
-                       )"
+                       )}"
 
-                       CROSSLDFLAGS="$(
+                       CROSSLDFLAGS="${CROSSLDFLAGS:-$(
                                filter-flags '-fuse-ld=*'
 
                                CC=${mingwcc} test-flags-CCLD ${LDFLAGS}
-                       )"
+                       )}"
                )
        fi
 

diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild 
b/app-emulation/wine-staging/wine-staging-9999.ebuild
index 3a7cda74ca11..d27aaaf1b5d2 100644
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
@@ -311,7 +311,7 @@ src_configure() {
                        ac_cv_prog_x86_64_CC="${mingwcc_amd64}"
                        ac_cv_prog_i386_CC="${mingwcc_x86}"
 
-                       CROSSCFLAGS="$(
+                       CROSSCFLAGS="${CROSSCFLAGS:-$(
                                filter-flags '-fstack-protector*' #870136
                                filter-flags '-mfunction-return=thunk*' #878849
 
@@ -322,13 +322,13 @@ src_configure() {
                                use custom-cflags || append-cflags -mno-avx
 
                                CC=${mingwcc} test-flags-CC ${CFLAGS:--O2}
-                       )"
+                       )}"
 
-                       CROSSLDFLAGS="$(
+                       CROSSLDFLAGS="${CROSSLDFLAGS:-$(
                                filter-flags '-fuse-ld=*'
 
                                CC=${mingwcc} test-flags-CCLD ${LDFLAGS}
-                       )"
+                       )}"
                )
        fi
 

Reply via email to