summaryrefslogtreecommitdiff
path: root/solenv/inc/unxmacxp.mk
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-03-13 04:42:29 +0000
committerPatrick Luby <pluby@openoffice.org>2001-03-13 04:42:29 +0000
commitc7cf75feae11afe23523df193d7fe4a9d9b96efe (patch)
treee253c878c70f7410bf85e84d66dcb19be4c98fbe /solenv/inc/unxmacxp.mk
parent04f9143fcf5974beaeea33ae34be2b9e700d86e2 (diff)
Correct .IF errors in last revision
Diffstat (limited to 'solenv/inc/unxmacxp.mk')
-rw-r--r--solenv/inc/unxmacxp.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/solenv/inc/unxmacxp.mk b/solenv/inc/unxmacxp.mk
index b856d02b262d..81d44832f3b6 100644
--- a/solenv/inc/unxmacxp.mk
+++ b/solenv/inc/unxmacxp.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: unxmacxp.mk,v $
#
-# $Revision: 1.34 $
+# $Revision: 1.35 $
#
-# last change: $Author: pluby $ $Date: 2001-03-13 05:37:25 $
+# last change: $Author: pluby $ $Date: 2001-03-13 05:42:29 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -111,7 +111,7 @@ CFLAGS_NO_EXCEPTIONS=-fno-exceptions
CFLAGSCXX=-pipe -fno-for-scope -fpermissive -fno-operator-names
-.IF "$(shell uname -r)">="1.3"
+.IF "$(shell uname -r)"!="1.2"
CFLAGSCXX+=-fno-coalesce
.ENDIF
@@ -125,10 +125,7 @@ CFLAGSPROF=
CFLAGSDEBUG=-g
CFLAGSDBGUTIL=
-.IF "$(shell uname -r)">="1.3"
-CFLAGSOPT=-O2
-CFLAGSNOOPT=-O
-.ELSE
+.IF "$(shell uname -r)"=="1.2"
# Workaround for the compiler's buggy opitmizer when exceptions are turned on.
# Note that we have to define NO_OPTIMIZE for all files as once you turn off
# optimizing for one file, we need to adjust our compiling of the remaining
@@ -141,6 +138,9 @@ CFLAGSNOOPT=-O
CFLAGSOPT=
CFLAGSNOOPT=
.ENDIF
+.ELSE
+CFLAGSOPT=-O2
+CFLAGSNOOPT=-O
.ENDIF
CFLAGSOUTOBJ=-o