summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-10-31 07:01:20 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-10-31 07:01:20 +0000
commit800fe38b17d463ff35ed8e1da89b2a926a41950c (patch)
treee749a70c84619079369c9f03002f54b2cb08a4a2 /basebmp
parent03be7f057a653f0dc4203cc78a5c96ab8fc2a51b (diff)
#i10000# Do not use '-xalias_level=compatible' for old Sun Studio 8 compiler.
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/test/makefile.mk3
1 files changed, 3 insertions, 0 deletions
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 ----------------------------------------------------------