Kaydet (Commit) 04f9143f authored tarafından Patrick Luby's avatar Patrick Luby

Added support for Mac OS X Release Candidate version

üst 57fc0ac6
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# #
# $RCSfile: unxmacxp.mk,v $ # $RCSfile: unxmacxp.mk,v $
# #
# $Revision: 1.33 $ # $Revision: 1.34 $
# #
# last change: $Author: pluby $ $Date: 2001-03-11 17:43:51 $ # last change: $Author: pluby $ $Date: 2001-03-13 05:37:25 $
# #
# The Contents of this file are made available subject to the terms of # The Contents of this file are made available subject to the terms of
# either of the following licenses # either of the following licenses
...@@ -111,6 +111,10 @@ CFLAGS_NO_EXCEPTIONS=-fno-exceptions ...@@ -111,6 +111,10 @@ CFLAGS_NO_EXCEPTIONS=-fno-exceptions
CFLAGSCXX=-pipe -fno-for-scope -fpermissive -fno-operator-names CFLAGSCXX=-pipe -fno-for-scope -fpermissive -fno-operator-names
.IF "$(shell uname -r)">="1.3"
CFLAGSCXX+=-fno-coalesce
.ENDIF
CFLAGSOBJGUIST=-fPIC CFLAGSOBJGUIST=-fPIC
CFLAGSOBJCUIST=-fPIC CFLAGSOBJCUIST=-fPIC
CFLAGSOBJGUIMT=-fPIC CFLAGSOBJGUIMT=-fPIC
...@@ -120,6 +124,11 @@ CFLAGSSLOCUIMT=-fPIC ...@@ -120,6 +124,11 @@ CFLAGSSLOCUIMT=-fPIC
CFLAGSPROF= CFLAGSPROF=
CFLAGSDEBUG=-g CFLAGSDEBUG=-g
CFLAGSDBGUTIL= CFLAGSDBGUTIL=
.IF "$(shell uname -r)">="1.3"
CFLAGSOPT=-O2
CFLAGSNOOPT=-O
.ELSE
# Workaround for the compiler's buggy opitmizer when exceptions are turned on. # 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 # 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 # optimizing for one file, we need to adjust our compiling of the remaining
...@@ -132,6 +141,7 @@ CFLAGSNOOPT=-O ...@@ -132,6 +141,7 @@ CFLAGSNOOPT=-O
CFLAGSOPT= CFLAGSOPT=
CFLAGSNOOPT= CFLAGSNOOPT=
.ENDIF .ENDIF
.ENDIF
CFLAGSOUTOBJ=-o CFLAGSOUTOBJ=-o
SOLARVERSHLLIBS=$(shell -/bin/sh -c "ls $(SOLARLIBDIR)$/*$(DLLPOST) $(LB)$/*$(DLLPOST) $(MISC)$/*$(DLLPOST) 2>/dev/null | grep -E -v 'lib\w+static'") SOLARVERSHLLIBS=$(shell -/bin/sh -c "ls $(SOLARLIBDIR)$/*$(DLLPOST) $(LB)$/*$(DLLPOST) $(MISC)$/*$(DLLPOST) 2>/dev/null | grep -E -v 'lib\w+static'")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment