diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-05-08 22:38:40 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-05-08 22:38:40 +0100 |
commit | 56de3cc88635c85f96298072111a81dadf424e9f (patch) | |
tree | 6edf6ce10c501c286be9b2a84067520d13b0ead8 | |
parent | crossdev: unconditionally create /usr/${CTARGET}/{lib,usr/lib} (diff) | |
download | crossdev-56de3cc8.tar.gz crossdev-56de3cc8.tar.bz2 crossdev-56de3cc8.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-x | crossdev | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |