summaryrefslogtreecommitdiff
path: root/lang/gcc49/patches/patch-libgfortran_configure
blob: 381785e5c8946a395411aa35af8b3174c87d84d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-libgfortran_configure,v 1.1 2014/09/04 18:43:11 jperkin Exp $

"#pragma weak" shouldn't be used on NetBSD.

--- libgfortran/configure.orig	2014-07-16 10:06:03.000000000 +0000
+++ libgfortran/configure
@@ -26340,7 +26340,7 @@ $as_echo "#define SUPPORTS_WEAK 1" >>con
 
   fi
   case "$host" in
-    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
+    *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-netbsd* )
 
 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h