wareck 2 years ago
parent
commit
dd95b1a8be
2 changed files with 2 additions and 2 deletions
  1. 1 1
      build_lketc.sh
  2. 1 1
      make_environement.sh

+ 1 - 1
build_lketc.sh

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

+ 1 - 1
make_environement.sh

@@ -10,7 +10,7 @@ cd mxe
 sudo git reset --hard 64b283d64891348c92154b8d7eace6a9bff23411
 sudo git reset --hard 64b283d64891348c92154b8d7eace6a9bff23411
 export MXE_DIR=/opt/mxe
 export MXE_DIR=/opt/mxe
 export MXE_TARGETS='i686-w64-mingw32.static'
 export MXE_TARGETS='i686-w64-mingw32.static'
-sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
+sudo make -j 4 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
 if ! grep "export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/" ~/.profile >/dev/null
 if ! grep "export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/" ~/.profile >/dev/null
 then
 then
 echo 'export PATH=/opt/mxe/usr/bin:$PATH' >> ~/.profile
 echo 'export PATH=/opt/mxe/usr/bin:$PATH' >> ~/.profile