diff options
author | Patrick Luby <pluby@openoffice.org> | 2001-02-15 00:23:49 +0000 |
---|---|---|
committer | Patrick Luby <pluby@openoffice.org> | 2001-02-15 00:23:49 +0000 |
commit | 6661ddddf94353b961f917bb2ba3bde22298a4d9 (patch) | |
tree | 0e0a13fe4af86e1598e3301df449e6197e19bc06 /sax/source | |
parent | 989594437a14eefd80624a7ca2582769a56f07d2 (diff) |
Turned off optimization for Mac OS X so that the sax library will not core dump
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/expatwrap/makefile.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sax/source/expatwrap/makefile.mk b/sax/source/expatwrap/makefile.mk index 319ee3db8b81..46b2965d6003 100644 --- a/sax/source/expatwrap/makefile.mk +++ b/sax/source/expatwrap/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.3 $ +# $Revision: 1.4 $ # -# last change: $Author: pluby $ $Date: 2001-02-14 01:45:42 $ +# last change: $Author: pluby $ $Date: 2001-02-15 01:23:49 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -83,6 +83,15 @@ SLOFILES =\ SYMBOLPREFIX=sax .ENDIF +# 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)$/staticmb.obj |