From 03be7f057a653f0dc4203cc78a5c96ab8fc2a51b Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 30 Oct 2008 14:29:40 +0000 Subject: #i10000# Do not use '-xalias_level=compatible' for old Sun Studio 8 compiler. --- basebmp/source/makefile.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'basebmp') diff --git a/basebmp/source/makefile.mk b/basebmp/source/makefile.mk index 658465523bfc..df3e2a5d5134 100644 --- a/basebmp/source/makefile.mk +++ b/basebmp/source/makefile.mk @@ -60,8 +60,11 @@ CDEFS+= -DBASEBMP_NO_NESTED_TEMPLATE_PARAMETER -DVIGRA_WITHOUT_NESTED_TEMPLATE_P # 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 ---------------------------------------------------------- -- cgit v1.2.3