diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-06-24 16:33:43 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-06-24 16:33:43 -0500 |
commit | e80a999887a2b64b1335f43a518e390f35798c93 (patch) | |
tree | 34f2dbfcd177f2b4a1da3f1a79cb01eeb42647e8 /0027-libtool-w32api.patch | |
parent | 478996322b9a7dd8ed1f6e89321c73158473c232 (diff) | |
download | cygwin-gcc-e80a999887a2b64b1335f43a518e390f35798c93.tar.gz cygwin-gcc-e80a999887a2b64b1335f43a518e390f35798c93.tar.xz cygwin-gcc-e80a999887a2b64b1335f43a518e390f35798c93.zip |
cygwin-gcc 5.4.0
Diffstat (limited to '0027-libtool-w32api.patch')
-rwxr-xr-x | 0027-libtool-w32api.patch | 584 |
1 files changed, 584 insertions, 0 deletions
diff --git a/0027-libtool-w32api.patch b/0027-libtool-w32api.patch new file mode 100755 index 0000000..ec4e82e --- /dev/null +++ b/0027-libtool-w32api.patch @@ -0,0 +1,584 @@ +--- origsrc/gcc-5.4.0/boehm-gc/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/boehm-gc/configure 2016-06-24 15:18:51.763939500 -0500 +@@ -10226,6 +10226,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10394,8 +10401,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/gcc/configure 2016-05-21 03:35:25.000000000 -0500 ++++ src/gcc-5.4.0/gcc/configure 2016-06-24 15:18:52.448443500 -0500 +@@ -17088,6 +17088,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -17256,8 +17263,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libatomic/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libatomic/configure 2016-06-24 15:18:52.673369100 -0500 +@@ -10037,6 +10037,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10205,8 +10212,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libbacktrace/configure 2015-01-23 20:46:22.000000000 -0600 ++++ src/gcc-5.4.0/libbacktrace/configure 2016-06-24 15:18:52.702995900 -0500 +@@ -10055,6 +10055,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10223,8 +10230,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libcc1/configure 2014-11-21 10:49:17.000000000 -0600 ++++ src/gcc-5.4.0/libcc1/configure 2016-06-24 15:18:52.750845500 -0500 +@@ -9462,6 +9462,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -9630,8 +9637,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libcilkrts/configure 2016-06-23 18:10:34.963484000 -0500 ++++ src/gcc-5.4.0/libcilkrts/configure 2016-06-24 15:18:52.800116400 -0500 +@@ -9987,6 +9987,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10155,8 +10162,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libffi/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libffi/configure 2016-06-24 15:18:52.938676300 -0500 +@@ -10296,6 +10296,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10464,8 +10471,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libgfortran/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libgfortran/configure 2016-06-24 15:18:53.011468500 -0500 +@@ -11284,6 +11284,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -11452,8 +11459,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libgo/configure 2015-09-17 07:46:06.000000000 -0500 ++++ src/gcc-5.4.0/libgo/configure 2016-06-24 15:18:53.060294500 -0500 +@@ -10052,6 +10052,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10220,8 +10227,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libgomp/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libgomp/configure 2016-06-24 15:18:53.091288800 -0500 +@@ -10044,6 +10044,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10212,8 +10219,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libitm/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libitm/configure 2016-06-24 15:18:53.166734600 -0500 +@@ -10711,6 +10711,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10879,8 +10886,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libjava/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libjava/configure 2016-06-24 15:32:11.579170800 -0500 +@@ -6142,7 +6142,7 @@ cygwin* | mingw* | pw32*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" ++ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"` + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix +@@ -12296,6 +12296,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -12464,8 +12471,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libmpx/configure 2015-04-28 04:40:18.000000000 -0500 ++++ src/gcc-5.4.0/libmpx/configure 2016-06-24 15:18:53.265683600 -0500 +@@ -10176,6 +10176,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10344,8 +10351,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libobjc/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libobjc/configure 2016-06-24 15:18:53.308088200 -0500 +@@ -9509,6 +9509,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -9677,8 +9684,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/liboffloadmic/configure 2014-11-13 08:05:49.000000000 -0600 ++++ src/gcc-5.4.0/liboffloadmic/configure 2016-06-24 15:18:53.352990300 -0500 +@@ -10026,6 +10026,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10194,8 +10201,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libquadmath/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libquadmath/configure 2016-06-24 15:18:53.398266400 -0500 +@@ -9473,6 +9473,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -9641,8 +9648,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libsanitizer/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/libsanitizer/configure 2016-06-24 15:18:53.428584100 -0500 +@@ -10948,6 +10948,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -11116,8 +11123,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libssp/configure 2014-11-21 10:49:17.000000000 -0600 ++++ src/gcc-5.4.0/libssp/configure 2016-06-24 15:18:53.473504400 -0500 +@@ -9572,6 +9572,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -9740,8 +9747,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libstdc++-v3/configure 2016-06-23 18:10:35.338123500 -0500 ++++ src/gcc-5.4.0/libstdc++-v3/configure 2016-06-24 15:18:53.561782800 -0500 +@@ -10506,6 +10506,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -10674,8 +10681,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libtool.m4 2015-11-26 07:36:26.000000000 -0600 ++++ src/gcc-5.4.0/libtool.m4 2016-06-24 13:17:37.339301600 -0500 +@@ -2064,6 +2064,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -2232,8 +2239,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' +-m4_if([$1], [],[ +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/libvtv/configure 2015-02-09 05:41:22.000000000 -0600 ++++ src/gcc-5.4.0/libvtv/configure 2016-06-24 13:19:04.464784500 -0500 +@@ -11056,6 +11056,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -11224,8 +11231,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/lto-plugin/configure 2014-11-21 10:49:17.000000000 -0600 ++++ src/gcc-5.4.0/lto-plugin/configure 2016-06-24 15:18:55.745825000 -0500 +@@ -9545,6 +9545,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -9713,8 +9720,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix +--- origsrc/gcc-5.4.0/zlib/configure 2016-06-03 03:45:07.000000000 -0500 ++++ src/gcc-5.4.0/zlib/configure 2016-06-24 15:18:55.791367000 -0500 +@@ -9311,6 +9311,13 @@ if test "$GCC" = yes; then + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi ++ case $host_os in ++ cygwin*) ++ if test -d "$lt_sys_path/w32api"; then ++ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/w32api" ++ fi ++ ;; ++ esac + done + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' + BEGIN {RS=" "; FS="/|\n";} { +@@ -9479,8 +9486,6 @@ cygwin* | mingw* | pw32* | cegcc*) + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' +- +- sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" + ;; + mingw* | cegcc*) + # MinGW DLLs use traditional 'lib' prefix |