From: Avi Kivity <[EMAIL PROTECTED]>

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/user/Makefile b/user/Makefile
index e6ba27d..60f8bd8 100644
--- a/user/Makefile
+++ b/user/Makefile
@@ -29,7 +29,9 @@ CXXFLAGS = $(autodepend-flags)
 
 autodepend-flags = -MMD -MF $(dir $*).$(notdir $*).d
 
-FLATLIBS = $(TEST_DIR)/libcflat.a
+libgcc := $(shell gcc --print-libgcc-file-name)
+
+FLATLIBS = $(TEST_DIR)/libcflat.a $(libgcc)
 
 kvmctl: LDFLAGS += -pthread -lrt
 

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to