[git commit nptl] fix compiling test cases in static mode

Austin Foxley austinf at cetoncorp.com
Wed Dec 16 08:09:38 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=23cfec40b3302fda307ca9faec2f1597b3d7aebb
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 test/Rules.mak |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/test/Rules.mak b/test/Rules.mak
index 7c15bae..9d5bd82 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -77,8 +77,7 @@ else
 endif
 
 ifneq ($(HAVE_SHARED),y)
-	LDFLAGS       += -Wl,-static
-	HOST_LDFLAGS  += -Wl,-static
+	LDFLAGS       += -Wl,-static -static-libgcc
 endif
 
 LDFLAGS += -B$(top_builddir)lib -Wl,-rpath,$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib
-- 
1.6.3.3



More information about the uClibc-cvs mailing list