From 23cfec40b3302fda307ca9faec2f1597b3d7aebb Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 16 Dec 2009 02:36:31 -0800 Subject: fix compiling test cases in static mode Signed-off-by: Austin Foxley --- test/Rules.mak | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/Rules.mak') diff --git a/test/Rules.mak b/test/Rules.mak index 7c15bae1f..9d5bd8296 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 -- cgit v1.2.3