blob: 16f986c2b7bc25b799fe6f7db8290f3464bf6405 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.184
diff -u -r1.314.2.184 libtool.m4
--- libtool.m4 30 Jun 2007 09:32:01 -0000 1.314.2.184
+++ libtool.m4 2 Jul 2007 20:37:16 -0000
@@ -603,7 +603,11 @@
*64-bit*)
case $lt_cv_prog_gnu_ld in
yes*) LD="${LD-ld} -m elf64_sparc" ;;
- *) LD="${LD-ld} -64" ;;
+ *)
+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
+ LD="${LD-ld} -64"
+ fi
+ ;;
esac
;;
esac
|