]> Cypherpunks repositories - gostls13.git/commitdiff
build: remove unused nacl conditional from make.bash
authorDave Cheney <dave@cheney.net>
Thu, 24 Feb 2011 04:56:53 +0000 (15:56 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 24 Feb 2011 04:56:53 +0000 (15:56 +1100)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4217042

src/make.bash

index 43c70a87ba1358333f3462bd86542a3c95ba5305..0cbf3becb4249835b2f497ecf62fbabfc7162485 100755 (executable)
@@ -61,29 +61,24 @@ bash "$GOROOT"/src/clean.bash
 # pkg builds libcgo and the Go programs in cmd.
 for i in lib9 libbio libmach cmd pkg
 do
-       case "$i-$GOOS-$GOARCH" in
-       cmd/*-nacl-*)
-               ;;
-       *)
-               # The ( ) here are to preserve the current directory
-               # for the next round despite the cd $i below.
-               # set -e does not apply to ( ) so we must explicitly
-               # test the exit status.
-               (
-                       echo; echo; echo %%%% making $i %%%%; echo
-                       cd "$GOROOT"/src/$i
-                       case $i in
-                       cmd)
-                               bash make.bash
-                               ;;
-                       pkg)
-                               gomake install
-                               ;;
-                       *)
-                               gomake install
-                       esac
-               )  || exit 1
-       esac
+       # The ( ) here are to preserve the current directory
+       # for the next round despite the cd $i below.
+       # set -e does not apply to ( ) so we must explicitly
+       # test the exit status.
+       (
+               echo; echo; echo %%%% making $i %%%%; echo
+               cd "$GOROOT"/src/$i
+               case $i in
+               cmd)
+                       bash make.bash
+                       ;;
+               pkg)
+                       gomake install
+                       ;;
+               *)
+                       gomake install
+               esac
+       )  || exit 1
 done
 
 # Print post-install messages.