summaryrefslogtreecommitdiff
path: root/solenv/inc/unxmacxp.mk
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-02-17 08:21:15 +0000
committerPatrick Luby <pluby@openoffice.org>2001-02-17 08:21:15 +0000
commitb46ee9d62f940c7e8f44b3bdeeb191150b0f3b8e (patch)
treef9e5cb372d736909e7f7762e1ecb2122e13f7456 /solenv/inc/unxmacxp.mk
parent063ce7e2b4572701fe4189db7a26810c14fc0b69 (diff)
Turned off optimization when exceptions are on as to avoid bugs in comipiler's optimizer
Diffstat (limited to 'solenv/inc/unxmacxp.mk')
-rw-r--r--solenv/inc/unxmacxp.mk16
1 files changed, 7 insertions, 9 deletions
diff --git a/solenv/inc/unxmacxp.mk b/solenv/inc/unxmacxp.mk
index a89a8cefa6e8..142a46ffeaac 100644
--- a/solenv/inc/unxmacxp.mk
+++ b/solenv/inc/unxmacxp.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: unxmacxp.mk,v $
#
-# $Revision: 1.20 $
+# $Revision: 1.21 $
#
-# last change: $Author: pluby $ $Date: 2001-02-14 04:16:22 $
+# last change: $Author: pluby $ $Date: 2001-02-17 09:21:15 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -83,13 +83,6 @@ CDEFS+=-Dcomponent_getImplementationEnvironment=lib$(SYMBOLPREFIX)component_getI
-Duno_ext_getMapping=lib$(SYMBOLPREFIX)uno_ext_getMapping
.ENDIF
-# Temporary settings to enable VCL test code. These should be deleted once
-# VCL development is complete.
-.IF "$(dbgutil)"==""
-dbgutil=true
-product=
-.ENDIF
-
.IF "$(SOLAR_JAVA)"!=""
JAVADEF=-DSOLAR_JAVA
JAVAFLAGSDEBUG=-g
@@ -118,8 +111,13 @@ CFLAGSSLOCUIMT=-fPIC
CFLAGSPROF=
CFLAGSDEBUG=-g
CFLAGSDBGUTIL=
+.IF "$(ENABLE_EXCEPTIONS)"==""
CFLAGSOPT=-O2
CFLAGSNOOPT=-O
+.ELSE
+CFLAGSOPT=
+CFLAGSNOOPT=
+.ENDIF
CFLAGSOUTOBJ=-o
SOLARVERSHLLIBS=$(shell -$(FIND) $(SOLARVERSION)$/$(INPATH)$/lib -name $(DLLPRE)\*$(DLLPOST))