wareck il y a 2 ans
Parent
commit
7e66c65d68
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 4 4
      build_gekko.sh
  2. 2 2
      build_lketc.sh

+ 4 - 4
build_gekko.sh

@@ -11,11 +11,11 @@ cd ..
 fi
 cd cgminer-gekko
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko --with-system-libusb
 #--enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
 make
 strip cgminer.exe
-upx cgminer.exe
+#upx cgminer.exe
 mkdir /tmp/cgminer-gekko
 cp cgminer.exe /tmp/cgminer-gekko
 cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
@@ -31,10 +31,10 @@ EOF
 cp cgminer-gekko-$version.zip /home/$USER/Bureau
 
 cd /home/wareck/cgminer-gekko
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko --enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --with-system-libusb --enable-gekko --enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
 make
 strip cgminer.exe
-upx cgminer.exe
+#upx cgminer.exe
 rm -r -f /tmp/cgminer-gekko
 mkdir /tmp/cgminer-gekko-all-usb
 cp cgminer.exe /tmp/cgminer-gekko-all-usb

+ 2 - 2
build_lketc.sh

@@ -4,10 +4,10 @@ cd ~
 git clone https://github.com/wareck/cgminer-lketc.git
 cd cgminer-lketc
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-zeus --enable-scrypt
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-zeus --enable-scrypt --with-system-libusb
 make -j4
 strip cgminer.exe
-upx cgminer.exe
+#upx cgminer.exe
 mkdir /tmp/cgminer-lketc
 cp cgminer.exe /tmp/cgminer-lketc
 cp $folder/packages/lketc/manual.pdf /tmp/cgminer-lketc/