1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 06:18:06 +00:00

When my WhirlpoolX code was checked in, I used C99 features that cause SGMiner to not compile without -std=c99, -std=gnu99, or better. The latter must be used because of other code in SGMiner. Also removed the old, useless -fno-strict-aliasing flag that seems to date back to cpuminer...

This commit is contained in:
Wolf 2015-04-07 04:42:43 -05:00
parent 55da7b5bb1
commit e59c616a7e

View File

@ -12,7 +12,7 @@ SUBDIRS = lib submodules ccan sph
bin_PROGRAMS = sgminer
sgminer_CPPFLAGS = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_CPPFLAGS)
sgminer_CPPFLAGS = $(PTHREAD_FLAGS) -std=gnu99 $(JANSSON_CPPFLAGS)
sgminer_LDFLAGS = $(PTHREAD_FLAGS)
sgminer_LDADD = $(DLOPEN_FLAGS) @LIBCURL_LIBS@ @JANSSON_LIBS@ @PTHREAD_LIBS@ \
@OPENCL_LIBS@ @NCURSES_LIBS@ @PDCURSES_LIBS@ @WS2_LIBS@ \