]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix asm.h on Windows
authorRuss Cox <rsc@golang.org>
Fri, 4 Feb 2011 19:32:59 +0000 (14:32 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 4 Feb 2011 19:32:59 +0000 (14:32 -0500)
Thanks to mhantsch@gmail.com.

R=adg, brainman
CC=golang-dev
https://golang.org/cl/4092048

src/pkg/runtime/mkasmh.sh

index 3ed5f74c901245b56ee6b5c1404cb3767b48effd..d6c8d64e090d33c59e4c5ba113e791fc70cac293 100755 (executable)
@@ -84,6 +84,7 @@ esac
 echo
 
 awk '
+{ gsub(/\r/, ""); }
 /^aggr G$/ { aggr="g" }
 /^aggr M$/ { aggr = "m" }
 /^aggr Gobuf$/ { aggr = "gobuf" }