summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-12-16 02:36:31 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-12-16 02:36:31 -0800
commit23cfec40b3302fda307ca9faec2f1597b3d7aebb (patch)
tree6025d8341fa4e05a99d21e3513c34177f30bd210 /test
parent1f6601af6749d593c856db67c260293b8209063c (diff)
fix compiling test cases in static mode
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'test')
-rw-r--r--test/Rules.mak3
1 files changed, 1 insertions, 2 deletions
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