#i10000# Do not use '-xalias_level=compatible' for old Sun Studio 8 compiler.

This commit is contained in:
Rüdiger Timm 2008-10-31 07:01:20 +00:00
parent 03be7f057a
commit 800fe38b17

View file

@ -58,8 +58,11 @@ CFLAGS += -fno-inline
# SunStudio 12 (-m64 and -m32 modes): three test cases of the unit tests fail
# if compiled with default -xalias_level (and optimization level -xO3)
.IF "$(OS)"=="SOLARIS"
# For Sun Studio 8 this switch does not work: compilation fails on bitmapdevice.cxx
.IF "$(CCNUMVER)"!="00050005"
CDEFS+=-xalias_level=compatible
.ENDIF
.ENDIF
# --- Common ----------------------------------------------------------