projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4394096
)
missed x32 libtool patch.
author
Anthony Green
<green@moxielogic.com>
Wed, 2 Jan 2013 13:54:05 +0000
(08:54 -0500)
committer
Anthony Green
<green@moxielogic.com>
Wed, 2 Jan 2013 13:54:05 +0000
(08:54 -0500)
m4/libtool.m4
patch
|
blob
|
history
diff --git
a/m4/libtool.m4
b/m4/libtool.m4
index 56666f0eceac29ace0fff6cfefa246a4ab93174c..540e0b437e087d228e33db703bc16902aa7f05c2 100644
(file)
--- a/
m4/libtool.m4
+++ b/
m4/libtool.m4
@@
-1324,7
+1324,14
@@
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
LD="${LD-ld} -m elf_i386_fbsd"
;;
x86_64-*linux*)
- LD="${LD-ld} -m elf_i386"
+ case `/usr/bin/file conftest.o` in
+ *x86-64*)
+ LD="${LD-ld} -m elf32_x86_64"
+ ;;
+ *)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ esac
;;
ppc64-*linux*|powerpc64-*linux*)
LD="${LD-ld} -m elf32ppclinux"