|
@@ -11,10 +11,11 @@ cd ..
|
|
|
fi
|
|
|
cd cgminer-gekko
|
|
|
autoreconf -fi
|
|
|
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko
|
|
|
+CFLAGS="-W -Wall -static -fcommon" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-gekko
|
|
|
|
|
|
make
|
|
|
strip cgminer.exe
|
|
|
+upx cgminer.exe
|
|
|
mkdir /tmp/cgminer-gekko
|
|
|
cp cgminer.exe /tmp/cgminer-gekko
|
|
|
cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
|
|
@@ -33,6 +34,7 @@ cd 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
|
|
|
make
|
|
|
strip cgminer.exe
|
|
|
+upx cgminer.exe
|
|
|
rm -r /tmp/cgminer-gekko
|
|
|
mkdir /tmp/cgminer-gekko
|
|
|
cp cgminer.exe /tmp/cgminer-gekko
|