summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-01-10 20:51:29 +0100
committerFabian Groffen <grobian@gentoo.org>2021-01-10 20:51:29 +0100
commit3c6d544bad8c84e6f627fdf5a2e54fd269040de4 (patch)
treeb6481f6eb4df9a2da4c93a8b82fcfc12e9096b35 /sys-devel
parentscripts/bootstrap-prefix: show package list on @system completion too (diff)
downloadprefix-3c6d544bad8c84e6f627fdf5a2e54fd269040de4.tar.gz
prefix-3c6d544bad8c84e6f627fdf5a2e54fd269040de4.tar.bz2
prefix-3c6d544bad8c84e6f627fdf5a2e54fd269040de4.zip
sys-devel/gcc-7.4.0: add fix for Cygwin, bug #657594
Closes: https://bugs.gentoo.org/657594 Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/gcc-7.4.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-7.4.0.ebuild b/sys-devel/gcc/gcc-7.4.0.ebuild
index c1ad3f6c2f..bbd5ce8c5a 100644
--- a/sys-devel/gcc/gcc-7.4.0.ebuild
+++ b/sys-devel/gcc/gcc-7.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -65,6 +65,11 @@ src_configure() {
export ac_cv_func_memalign=no
export ac_cv_func_posix_memalign=no
;;
+ *-cygwin*)
+ # use built-in SSP with Cygwin 2.10
+ # FIXME: --disable-libssp should suffice in GCC 8
+ export gcc_cv_libc_provides_ssp=yes
+ ;;
i[34567]86-*-linux*:*" prefix "*)
# to allow the linux-x86-on-amd64.patch become useful, we need
# to enable multilib, even if there is just one multilib option.