~cypheon/pkgsrc-wip

pkgsrc-wip/mingw-w64-gcc/patches/patch-ab -rw-r--r-- 1.2 KiB
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ab,v 1.2 2013/02/11 00:39:27 makoto Exp $

To avoid spurious build error saying:
checking for sincos... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

--- libstdc++-v3/configure.orig	2010-08-11 13:44:56.000000000 +0000
+++ ./libstdc++-v3/configure	2013-02-09 21:13:19.000000000 +0900
@@ -1878,7 +1878,7 @@ if { as_var=$3; eval "test \"\${$as_var+
   $as_echo_n "(cached) " >&6
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+#  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -50878,7 +50878,7 @@ $as_echo "$glibcxx_gnu_ld_version" >&6; 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+#  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */