]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/5l: fix arm build
authorDave Cheney <dave@cheney.net>
Wed, 20 Mar 2013 01:05:52 +0000 (12:05 +1100)
committerDave Cheney <dave@cheney.net>
Wed, 20 Mar 2013 01:05:52 +0000 (12:05 +1100)
Fixes build. One part of ../misc/cgo/test appears to be unhappy but this does not cause the build to fail.

R=rsc, r
CC=golang-dev
https://golang.org/cl/7769047

src/cmd/5l/obj.c

index a025db2094977c4a0a77dbe08df86171cc7b37a5..1bcf436c43bb72ac26355c33454c9a163cc59168 100644 (file)
@@ -136,7 +136,7 @@ main(int argc, char *argv[])
        if(argc != 1)
                usage();
 
-       if(linkmode != Linkinternal) {
+       if(linkmode != LinkInternal) {
                diag("only -linkmode=internal is supported");
                errorexit();
        }