aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefile.linux-mingw2
-rw-r--r--src/makefile.mingw2
-rw-r--r--src/makefile.osx2
-rw-r--r--src/makefile.unix3
4 files changed, 9 insertions, 0 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw
index 9c3c235582..8b3df66d98 100644
--- a/src/makefile.linux-mingw
+++ b/src/makefile.linux-mingw
@@ -78,6 +78,8 @@ OBJS= \
all: bitcoind.exe
+cryptopp/obj/%.o: cryptopp/%.cpp
+ i586-mingw32msvc-g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $<
obj/nogui/%.o: %.cpp $(HEADERS)
i586-mingw32msvc-g++ -c $(CFLAGS) -o $@ $<
diff --git a/src/makefile.mingw b/src/makefile.mingw
index 87225761ba..d1c6ba8bef 100644
--- a/src/makefile.mingw
+++ b/src/makefile.mingw
@@ -76,6 +76,8 @@ OBJS= \
all: bitcoind.exe
+cryptopp/obj/%.o: cryptopp/%.cpp
+ g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $<
obj/nogui/%.o: %.cpp $(HEADERS)
g++ -c $(CFLAGS) -o $@ $<
diff --git a/src/makefile.osx b/src/makefile.osx
index aff1e5f31d..1d1d6b7b7b 100644
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -76,6 +76,8 @@ endif
all: bitcoind
+cryptopp/obj/%.o: cryptopp/%.cpp
+ $(CXX) -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $<
obj/nogui/%.o: %.cpp $(HEADERS)
$(CXX) -c $(CFLAGS) -o $@ $<
diff --git a/src/makefile.unix b/src/makefile.unix
index 88ca8895f1..689c54d9d2 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -104,6 +104,9 @@ OBJS= \
all: bitcoind
+cryptopp/obj/%.o: cryptopp/%.cpp
+ $(CXX) -c $(CFLAGS) -O3 -o $@ $<
+
obj/nogui/%.o: %.cpp $(HEADERS)
$(CXX) -c $(CXXFLAGS) -o $@ $<