Commits

Anonymous committed cd8790d

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

  • Participants
  • Parent commits 36ef500

Comments (0)

Files changed (1)

basebmp/source/makefile.mk

 # 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 ----------------------------------------------------------