summaryrefslogtreecommitdiff
path: root/berkeleydb/makefile.mk
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-06-30 15:38:26 +0200
committersb <sb@openoffice.org>2010-06-30 15:38:26 +0200
commitda1320efe152132d088042ae8857571113fad5e3 (patch)
tree1c98d8a24f20dbdb8a7c1c88c89d6bc4cb0ba6db /berkeleydb/makefile.mk
parent33474c4fff35faaedbd93461acb24496160f820f (diff)
parentd66343ab594fac375f4e3fc939594e9ebe5d4963 (diff)
sb126: merged in DEV300_m84
Diffstat (limited to 'berkeleydb/makefile.mk')
-rw-r--r--berkeleydb/makefile.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/berkeleydb/makefile.mk b/berkeleydb/makefile.mk
index 6b814163300b..a7ef455dddf5 100644
--- a/berkeleydb/makefile.mk
+++ b/berkeleydb/makefile.mk
@@ -120,9 +120,9 @@ OUT2INC= \
CONFIGURE_DIR=out
#relative to CONFIGURE_DIR
# TODO needs clean up
-CFLAGS+=-nostdinc -D_MT
-db_CC=$(CC)
-db_CXX=$(CXX)
+CFLAGS+=-nostdinc
+db_CC=$(CC) -mthreads
+db_CXX=$(CXX) -mthreads
.IF "$(MINGW_SHARED_GCCLIB)"=="YES"
db_CC+=-shared-libgcc
db_CXX+=-shared-libgcc
@@ -132,7 +132,7 @@ db_LDFLAGS=-no-undefined -L$(SOLARVER)/$(INPATH)/lib -L$(SOLARVER)/$(INPATH)/bin
db_LDFLAGS+=-L$(COMPATH)/lib/mingw -L$(COMPATH)/lib/w32api
.ENDIF
db_LDFLAGS+=-L$(COMPATH)/lib -L$(MINGW_CLIB_DIR)
-db_LIBS=-lmingwthrd
+db_LIBS=
.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
CFLAGS+=-D_GLIBCXX_DLL
db_LIBS+=-lstdc++_s