1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:54:42 -07:00

5l: attempt to fix arm build

TBR=rsc

R=golang-dev
CC=golang-dev
https://golang.org/cl/5647049
This commit is contained in:
Rob Pike 2012-02-08 15:12:56 +11:00
parent 0a7ad329e1
commit 9af4b01654

View File

@ -540,7 +540,7 @@ loop:
s->type = SBSS;
s->value = 0;
}
if(s->type != SBSS) {
if(s->type != SBSS && !s->dupok) {
diag("redefinition: %s\n%P", s->name, p);
s->type = SBSS;
s->value = 0;