mailing list of musl libc
 help / color / mirror / code / Atom feed
* Add support for amd64 target
@ 2016-03-18  2:33 Michael McConville
  2016-03-18  3:46 ` Rich Felker
  0 siblings, 1 reply; 6+ messages in thread
From: Michael McConville @ 2016-03-18  2:33 UTC (permalink / raw)
  To: musl

AMD64 and x86-64 are effectively interchangeable terms. BSDs use the
prior while Linux uses the latter. The below patch therefore fixes
configure on OpenBSD.

For what it's worth, the build then survives until linking. I haven't
had a chance to diagnose that problem yet.

Thanks for your time,
Michael


diff --git a/configure b/configure
index 213a825..e961800 100755
--- a/configure
+++ b/configure
@@ -306,7 +306,7 @@ i?86-nt32*) ARCH=nt32 ;;
 i?86*) ARCH=i386 ;;
 x86_64-x32*|x32*|x86_64*x32) ARCH=x32 ;;
 x86_64-nt64*) ARCH=nt64 ;;
-x86_64*) ARCH=x86_64 ;;
+x86_64*|amd64*) ARCH=x86_64 ;;
 mips64*) ARCH=mips64 ;;
 mips*) ARCH=mips ;;
 microblaze*) ARCH=microblaze ;;


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-19  4:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-18  2:33 Add support for amd64 target Michael McConville
2016-03-18  3:46 ` Rich Felker
2016-03-18  3:54   ` Michael McConville
2016-03-18  5:08     ` Isaac Dunham
2016-03-19  4:32       ` Michael McConville
2016-03-18  4:02   ` Michael McConville

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).