Explorar o código

fix compiling test cases in static mode

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley %!s(int64=15) %!d(string=hai) anos
pai
achega
23cfec40b3
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      test/Rules.mak

+ 1 - 2
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