summaryrefslogtreecommitdiff
path: root/gnu/lib/libiberty/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libiberty/config.sub')
-rw-r--r--gnu/lib/libiberty/config.sub6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/lib/libiberty/config.sub b/gnu/lib/libiberty/config.sub
index 2ab7f25694c..53f9660a58a 100644
--- a/gnu/lib/libiberty/config.sub
+++ b/gnu/lib/libiberty/config.sub
@@ -371,6 +371,12 @@ case $basic_machine in
basic_machine=a29k-none
os=-bsd
;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
amdahl)
basic_machine=580-amdahl
os=-sysv