aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-11-26 16:28:12 -0500
committerJeff Garzik <jgarzik@redhat.com>2010-11-26 16:28:12 -0500
commit0a333110f7c7228a2e2d4f57814979392df192c3 (patch)
tree8d383291be2fb7027f7131f40c908ea3fe8ba08f /Makefile.am
parent4575851ea331ea85946c30421541a493c6659445 (diff)
Build on Windows using mingw32.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 299787e..a7b09fa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,13 +7,13 @@ endif
SUBDIRS = compat
-INCLUDES = -pthread -fno-strict-aliasing $(JANSSON_INCLUDES)
+INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
bin_PROGRAMS = minerd
EXTRA_DIST = sha256_generic.c
minerd_SOURCES = util.c cpu-miner.c miner.h compat.h
-minerd_LDFLAGS = -pthread
+minerd_LDFLAGS = $(PTHREAD_FLAGS)
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@