summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-02-15 00:51:12 +0000
committerPatrick Luby <pluby@openoffice.org>2001-02-15 00:51:12 +0000
commit1a3201d73905483a1c943ddd7df2276a61eb43da (patch)
treea479422662de4e7c22cc8763351d1ed21f8c51a1 /stoc
parentc03f3bb45bfa88f181d83d17c0817dec09d2a1a5 (diff)
Disabled optimization for Mac OS X to eliminate core dumps
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation_adapterfactory/makefile.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/stoc/source/invocation_adapterfactory/makefile.mk b/stoc/source/invocation_adapterfactory/makefile.mk
index bfd3a9faa24a..c2345d4e8e60 100644
--- a/stoc/source/invocation_adapterfactory/makefile.mk
+++ b/stoc/source/invocation_adapterfactory/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.5 $
#
-# last change: $Author: svesik $ $Date: 2001-02-02 14:14:05 $
+# last change: $Author: pluby $ $Date: 2001-02-15 01:51:12 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -78,6 +78,16 @@ COMP1TYPELIST=$(TARGET)
SLOFILES= \
$(SLO)$/iafactory.obj
+
+# gcc on Mac OS X optimizes out some temporary variables when optimization is
+# turned on for compiling
+.IF "$(OS)"=="MACOSX"
+NOOPTFILES+=$(SLOFILES)
+.IF "$(NOOPT_FLAG)"!=""
+CFLAGSNOOPT=
+.ENDIF
+.ENDIF
+
# SCO and MACOSX: the linker does know about weak symbols, but we can't ignore multiple defined symbols
.IF "$(OS)"=="SCO" || "$(OS)$(COM)"=="OS2GCC" || "$(OS)"=="MACOSX"
SLOFILES+=$(SLO)$/staticmbinvocation_adapterfactory.obj