summarylogtreecommitdiffstats
path: root/make.bash.patch
blob: c60099207f011f7dcf9581214c954bd61c8bc88a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
diff --git a/ConsoleClient/make.bash b/ConsoleClient/make.bash
index 5bcc9fd7..2ab3d7f9 100755
--- a/ConsoleClient/make.bash
+++ b/ConsoleClient/make.bash
@@ -87,25 +87,6 @@ build_for_windows () {
 build_for_linux () {
   prepare_build linux
 
-  echo "...Building linux-i686"
-  # TODO: is "CFLAGS=-m32" required?
-  CFLAGS=-m32 GOOS=linux GOARCH=386 go build -v -x -ldflags "$LDFLAGS" -tags "${BUILD_TAGS}" -o bin/linux/${EXE_BASENAME}-i686
-  RETVAL=$?
-  if [ $RETVAL != 0 ]; then
-    echo ".....gox failed, exiting"
-    exit $RETVAL
-  fi
-  unset RETVAL
-
-  echo "....UPX packaging output"
-  goupx --best bin/linux/${EXE_BASENAME}-i686
-  RETVAL=$?
-  if [ $RETVAL != 0 ]; then
-    echo ".....goupx failed, exiting"
-    exit $RETVAL
-  fi
-  unset RETVAL
-
   echo "...Building linux-x86_64"
   GOOS=linux GOARCH=amd64 go build -v -x -ldflags "$LDFLAGS" -tags "${BUILD_TAGS}" -o bin/linux/${EXE_BASENAME}-x86_64
   RETVAL=$?
@@ -114,15 +95,6 @@ build_for_linux () {
     exit $RETVAL
   fi
   unset RETVAL
-
-  echo "....UPX packaging output"
-  goupx --best bin/linux/${EXE_BASENAME}-x86_64
-  RETVAL=$?
-  if [ $RETVAL != 0 ]; then
-    echo ".....goupx failed, exiting"
-    exit $RETVAL
-  fi
-  unset RETVAL
 }
 
 build_for_osx () {