updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gotoblas2 / fixlink.patch
blobaac7176b5a568006463295104356dd4d52cada4c
1 diff -Nur GotoBLAS2.orig/exports/Makefile GotoBLAS2/exports/Makefile
2 --- GotoBLAS2.orig/exports/Makefile 2011-10-20 19:26:38.865550738 +0200
3 +++ GotoBLAS2/exports/Makefile 2011-10-20 19:27:10.985349115 +0200
4 @@ -22,6 +22,12 @@
5 endif
6 endif
8 +ifeq ($(OSNAME), Linux)
9 +ifeq ($(F_COMPILER), GFORTRAN)
10 +EXTRALIB += -lgfortran
11 +endif
12 +endif
14 all::
16 libs::
17 diff -Nur GotoBLAS2.orig/f_check GotoBLAS2/f_check
18 --- GotoBLAS2.orig/f_check 2011-10-20 19:26:38.845550863 +0200
19 +++ GotoBLAS2/f_check 2011-10-20 19:27:31.595219262 +0200
20 @@ -274,6 +274,7 @@
21 && ($flags !~ /kernel32/)
22 && ($flags !~ /advapi32/)
23 && ($flags !~ /shell32/)
24 + && ($flags !~ /-l$/)
25 ) {
26 $linker_l .= $flags . " ";