瀏覽代碼

fix compiling test cases in static mode

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 15 年之前
父節點
當前提交
23cfec40b3
共有 1 個文件被更改,包括 1 次插入2 次删除
  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