mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Merge branch 'master' of github.com:ckolivas/cgminer
This commit is contained in:
commit
bddbddd65d
@ -26,7 +26,7 @@ cgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \
|
|||||||
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
|
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \
|
||||||
@UDEV_LIBS@ @USB_LIBS@ \
|
@UDEV_LIBS@ @USB_LIBS@ \
|
||||||
@MATH_LIBS@ lib/libgnu.a ccan/libccan.a
|
@MATH_LIBS@ lib/libgnu.a ccan/libccan.a
|
||||||
cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
|
cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@ @LIBCURL_CFLAGS@
|
||||||
|
|
||||||
# common sources
|
# common sources
|
||||||
cgminer_SOURCES := cgminer.c
|
cgminer_SOURCES := cgminer.c
|
||||||
|
@ -70,6 +70,9 @@ WS2_LIBS=""
|
|||||||
MATH_LIBS="-lm"
|
MATH_LIBS="-lm"
|
||||||
|
|
||||||
case $target in
|
case $target in
|
||||||
|
amd64-*)
|
||||||
|
have_x86_64=true
|
||||||
|
;;
|
||||||
x86_64-*)
|
x86_64-*)
|
||||||
have_x86_64=true
|
have_x86_64=true
|
||||||
;;
|
;;
|
||||||
@ -257,7 +260,7 @@ if test "x$curses" = "xno"; then
|
|||||||
else
|
else
|
||||||
AC_SEARCH_LIBS(addstr, ncurses pdcurses, [
|
AC_SEARCH_LIBS(addstr, ncurses pdcurses, [
|
||||||
curses=yes
|
curses=yes
|
||||||
cursesmsg="FOUND: ${ac_cv_search_addstr:2}"
|
cursesmsg="FOUND: ${ac_cv_search_addstr}"
|
||||||
AC_DEFINE([HAVE_CURSES], [1], [Defined to 1 if curses TUI support is wanted])
|
AC_DEFINE([HAVE_CURSES], [1], [Defined to 1 if curses TUI support is wanted])
|
||||||
], [
|
], [
|
||||||
if test "x$curses" = "xyes"; then
|
if test "x$curses" = "xyes"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user