summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'test/Rules.mak')
-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