summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-05-31 21:53:32 +0900
committertono <tono@openoffice.org>2010-05-31 21:53:32 +0900
commit2f0d1f09eba36fcae6d3c97e234abc73dc1ef0b3 (patch)
treea17ba012a5ba81b557ce25fb681401b2bf058e16 /cppunit
parentecc335ffb70ba20d8a97291c4ded8075917a7639 (diff)
i#111958: MinGW port enhancement: runtime-pseude-reloc-v2
Diffstat (limited to 'cppunit')
-rw-r--r--cppunit/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index b57c341e2a23..cd96f3bf2707 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -71,6 +71,11 @@ $(PACKAGE_DIR)/$(CONFIGURE_FLAG_FILE): ooo-cppunit_dll.mk ooo-DllPlugInTester.mk
.ELSE
+.IF "$(OS)" == "WNT"
+EXTRA_CFLAGS += -mthreads
+LDFLAGS += -Wl,--enable-runtime-pseudo-reloc-v2
+.ENDIF
+
.IF "$(USE_SYSTEM_STL)" != "YES"
OOO_STLPORT_CXXFLAGS = -I$(SOLARINCDIR)/stl