Fix elf-default-arch detection to work on secondary archs (RHBZ#634951)
authorDan Horák <dan@danny.cz>
Fri, 17 Sep 2010 13:13:27 +0000 (14:13 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 17 Sep 2010 13:15:43 +0000 (14:15 +0100)
commitbeade5dece2fa01d78da8a2f12d5a86adc96ad13
tree1eeab4bf0d4eaf38ee5b43e410c9d5e9dc9b3b6e
parentdd4179bf7bcb8314c21b8863cce3a9594813855c
Fix elf-default-arch detection to work on secondary archs (RHBZ#634951)

Recent state of the elf-default-arch script and the hardcoded i386 arch doesn't
allow building on other arches than ix86 or x86_64. See attachment for a fix.
Can be easily extended to support additional secondary arches by adding new
patterns to the elf-default-arch script
helper/Makefile.am
helper/elf-default-arch