summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2002-03-18 13:00:42 +0000
committerFrank Schönheit <fs@openoffice.org>2002-03-18 13:00:42 +0000
commitccefafec9e0b7efc2f306c8871662a6e871a9a45 (patch)
tree8d494459cc35b567d8b782721d01869c822b2871
parent16f96a7acb89cd5c36e3c3c5f94140c202ad2178 (diff)
applied patch suggested by #i3529# - enables support for NetBSD
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/makefile.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mozab/mozillasrc/makefile.mk b/connectivity/source/drivers/mozab/mozillasrc/makefile.mk
index c969d87c4360..a7568f6de470 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/makefile.mk
+++ b/connectivity/source/drivers/mozab/mozillasrc/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.7 $
+# $Revision: 1.8 $
#
-# last change: $Author: dkenny $ $Date: 2001-12-13 09:34:19 $
+# last change: $Author: fs $ $Date: 2002-03-18 14:00:42 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -156,6 +156,13 @@ CFLAGSCXX += \
-Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth \
-Wno-long-long -pthread
CDEFS += -DTRACING
+.ELIF "$(OS)" == "NETBSD"
+CFLAGS += -fPIC
+CFLAGSCXX += \
+ -fno-rtti -Wall -Wconversion -Wpointer-arith \
+ -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth \
+ -Wno-long-long
+CDEFS += -DTRACING
.ENDIF
.ENDIF