Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
@@ -77,8 +77,7 @@ else
endif
ifneq ($(HAVE_SHARED),y)
- LDFLAGS += -Wl,-static
- HOST_LDFLAGS += -Wl,-static
+ LDFLAGS += -Wl,-static -static-libgcc
LDFLAGS += -B$(top_builddir)lib -Wl,-rpath,$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib