summaryrefslogtreecommitdiff
path: root/stoc/test/makefile.mk
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-02-13 01:56:15 +0000
committerPatrick Luby <pluby@openoffice.org>2001-02-13 01:56:15 +0000
commit5541d008480ba2b53622d999d123fd027c6e3bb0 (patch)
tree8b889f25e9cb6245ab1c8d16a0048d6dc509ff8c /stoc/test/makefile.mk
parenta71a687cd280213c3037e49ccdc464bdddc95787 (diff)
Turned off optimization for Mac OS X so that code will compile in a reasonable amount of time
Diffstat (limited to 'stoc/test/makefile.mk')
-rw-r--r--stoc/test/makefile.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/stoc/test/makefile.mk b/stoc/test/makefile.mk
index 17444b64cc8d..2da0e98595a8 100644
--- a/stoc/test/makefile.mk
+++ b/stoc/test/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.7 $
+# $Revision: 1.8 $
#
-# last change: $Author: pluby $ $Date: 2001-02-12 01:33:41 $
+# last change: $Author: pluby $ $Date: 2001-02-13 02:56:15 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -217,6 +217,16 @@ APP8STDLIBS+= $(LIBCIMT)
APP8OBJS+=$(OBJ)$/staticmbtest.obj
.ENDIF
+# gcc on Mac OS X optimizes out some temporary variables when optimization is
+# turned on for compiling
+.IF "$(OS)"=="MACOSX"
+NOOPTFILES+=$(APP1OBJS) $(APP2OBJS) $(APP3OBJS) $(APP4OBJS) $(APP5OBJS) \
+ $(APP6OBJS) $(APP7OBJS) $(APP8OBJS)
+.IF "$(NOOPT_FLAG)"!=""
+CFLAGSNOOPT=
+.ENDIF
+.ENDIF
+
ALLIDLFILES:= testcorefl.idl language_binding.idl testintrosp.idl