]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: fix arm build
authorRuss Cox <rsc@golang.org>
Sat, 4 Feb 2012 07:01:58 +0000 (02:01 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 4 Feb 2012 07:01:58 +0000 (02:01 -0500)
5l does not use the whole set of ld files
like the other linkers do.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5629052

src/cmd/dist/build.c

index 6cd6f6d4ac6f803f59d65fb52b3a81525cb7c38f..5c68d176d055af5d034ddcaf31a8acb28ae90e31 100644 (file)
@@ -429,7 +429,14 @@ static struct {
                "$GOROOT/pkg/obj/libgc.a",
        }},
        {"cmd/5l", {
-               "../ld/*",
+               "../ld/data.c",
+               "../ld/elf.c",
+               "../ld/go.c",
+               "../ld/ldelf.c",
+               "../ld/ldmacho.c",
+               "../ld/ldpe.c",
+               "../ld/lib.c",
+               "../ld/symtab.c",
                "enam.c",
        }},
        {"cmd/6l", {