From 800fe38b17d463ff35ed8e1da89b2a926a41950c Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 31 Oct 2008 07:01:20 +0000 Subject: #i10000# Do not use '-xalias_level=compatible' for old Sun Studio 8 compiler. --- basebmp/test/makefile.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'basebmp/test') diff --git a/basebmp/test/makefile.mk b/basebmp/test/makefile.mk index d91f51595a9a..c1ae2961106e 100644 --- a/basebmp/test/makefile.mk +++ b/basebmp/test/makefile.mk @@ -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 ---------------------------------------------------------- -- cgit v1.2.3