mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 14:04:25 +00:00
Add to cgminer_CPPFLAGS instead of redefining them.
Conflicts: Makefile.am
This commit is contained in:
parent
747d870d32
commit
155945094f
@ -19,10 +19,10 @@ 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@ \
|
||||||
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a
|
@MM_LIBS@ @RT_LIBS@ @MATH_LIBS@ lib/libgnu.a ccan/libccan.a
|
||||||
|
|
||||||
if HAVE_WINDOWS
|
cgminer_CPPFLAGS += -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
|
||||||
cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@
|
|
||||||
else
|
if !HAVE_WINDOWS
|
||||||
cgminer_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @OPENCL_FLAGS@ @LIBCURL_CFLAGS@
|
cgminer_CPPFLAGS += @LIBCURL_CFLAGS@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cgminer_CPPFLAGS += $(ADL_CPPFLAGS)
|
cgminer_CPPFLAGS += $(ADL_CPPFLAGS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user