aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-05-08 22:38:40 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-05-08 22:38:40 +0100
commit56de3cc88635c85f96298072111a81dadf424e9f (patch)
tree6edf6ce10c501c286be9b2a84067520d13b0ead8
parentcrossdev: unconditionally create /usr/${CTARGET}/{lib,usr/lib} (diff)
downloadcrossdev-56de3cc88635c85f96298072111a81dadf424e9f.tar.gz
crossdev-56de3cc88635c85f96298072111a81dadf424e9f.tar.bz2
crossdev-56de3cc88635c85f96298072111a81dadf424e9f.zip
crossdev: disable USE=pie for all mingw targets
Jernej reports that x86_64-w64-mingw32 also exhibits the same runtime failures with USE=pie. Reported-by: Jernej Simoncic Bug: https://bugs.gentoo.org/644930 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rwxr-xr-xcrossdev3
1 files changed, 2 insertions, 1 deletions
diff --git a/crossdev b/crossdev
index bb03316..a4b32a2 100755
--- a/crossdev
+++ b/crossdev
@@ -393,7 +393,8 @@ parse_target() {
# check as '$CC -fPIC -c -x c - </dev/null'
avr*|mmix*) pie_support=no;;
# [2.] mingw32 startup code is broken: bug #644930
- mingw32|i686-w64-mingw32) pie_support=no;;
+ # at least on i686-w64-mingw32 and x86_64-w64-mingw32
+ mingw*|*-mingw*) pie_support=no;;
esac
if [[ $pie_support = "no" ]]; then
# pie is >=gcc-6, nopie is <gcc-6