From e59c616a7eb25b3d4a7b569c666d18a13508a069 Mon Sep 17 00:00:00 2001 From: Wolf Date: Tue, 7 Apr 2015 04:42:43 -0500 Subject: [PATCH] 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... --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 73073459..d48ff419 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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@ \