#i10000# Do not use '-xalias_level=compatible' for old Sun Studio 8 compiler.
This commit is contained in:
parent
03be7f057a
commit
800fe38b17
1 changed files with 3 additions and 0 deletions
|
@ -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 ----------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue