]> Cypherpunks repositories - gostls13.git/commit
dist: fix Plan 9 build
authorDavid du Colombier <0intro@gmail.com>
Wed, 6 Aug 2014 13:11:41 +0000 (06:11 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Aug 2014 13:11:41 +0000 (06:11 -0700)
commitde1ab89f03a9a22a919fe051bb7251178c80279c
tree8542b6a144df724540c7cfade50b7dca625138c3
parentbf13b711bd56367486f01d76ae344b8620a04694
dist: fix Plan 9 build

Since CL 115060044, mkanames declares an empty
array in anames8.c and anames6.c, which is not
valid for the Plan 9 compiler.

char* cnames8[] = {
};

This change makes mkanames not declaring the
cnames array when no C_ constants are found.

LGTM=iant
R=minux, iant
CC=golang-codereviews
https://golang.org/cl/117680043
src/cmd/dist/buildgc.c