Descriptionignore $GOARCH inside the compiler and linker.
by definition, they know what they are building for.
makes it easier to switch architectures when testing.
% 6g x.go
% 6l x.6
% 6.out
"Wed Jan 13 10:57:46 EST 2010"
% 8g x.go
% 8l x.8
% 8.out
"Wed Jan 13 10:57:46 EST 2010"
% echo $GOARCH
%
Patch Set 1 #Patch Set 2 : code review 186116: ignore $GOARCH inside the compiler and linker. #
MessagesTotal messages: 4
|