Skip to contentSkip to conversation

KVM test: deps/Makefile - Compile rss with -static-libgcc

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Jul 7, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: deps/Makefile - Compile rss with -static-libgcc

In order to make rss.exe self contained, -static-libgcc has to be added to mingw command line. Update the Makefile to reflect that.

---
 client/tests/kvm/deps/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/deps/Makefile +1 -1
index a254d6a..06ddf65 100644
@@ -1,7 +1,7 @@
 all:
 	make rss.exe finish.exe
 rss.exe:
-	i686-pc-mingw32-g++ rss.cpp -lws2_32 -lshlwapi -mwindows -o rss.exe
+	i686-pc-mingw32-g++ rss.cpp -static-libgcc -lws2_32 -lshlwapi -mwindows -o rss.exe
 finish.exe:
 	i686-pc-mingw32-g++ finish.cpp -lws2_32 -o finish.exe
 clean:
Signature · 1 line
1.7.1