From 643e892ea35bebe1f57bedc748c9bf87d0bdb059 Mon Sep 17 00:00:00 2001 From: d34th Date: Wed, 4 Jul 2012 15:50:35 -0400 Subject: [PATCH 1/2] Fixed litecoind MinGW building --- src/makefile.linux-mingw | 2 +- src/makefile.mingw | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 610d56e0635f8..5b29721559a8a 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -71,7 +71,7 @@ OBJS= \ all: litecoind.exe -obj/nogui/scrypt.o: scrypt.c +obj/scrypt.o: scrypt.c gcc -c -o $@ $^ obj/build.h: FORCE diff --git a/src/makefile.mingw b/src/makefile.mingw index 1422c06c11b04..a63a138220a22 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -69,7 +69,7 @@ OBJS= \ all: litecoind.exe -obj/nogui/scrypt.o: scrypt.c +obj/scrypt.o: scrypt.c gcc -c -o $@ $^ obj/%.o: %.cpp $(HEADERS) From 65883c2ac31fbb124adfff2b70e2526aa45086e6 Mon Sep 17 00:00:00 2001 From: d34th Date: Wed, 4 Jul 2012 17:16:42 -0400 Subject: [PATCH 2/2] Corrected compiler --- src/makefile.linux-mingw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw index 5b29721559a8a..935db1dc5f170 100644 --- a/src/makefile.linux-mingw +++ b/src/makefile.linux-mingw @@ -72,7 +72,7 @@ OBJS= \ all: litecoind.exe obj/scrypt.o: scrypt.c - gcc -c -o $@ $^ + i586-mingw32msvc-gcc -c -o $@ $^ obj/build.h: FORCE /bin/sh ../share/genbuild.sh obj/build.h