summaryrefslogtreecommitdiff
path: root/basebmp/source/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp/source/makefile.mk')
-rw-r--r--basebmp/source/makefile.mk3
1 files changed, 3 insertions, 0 deletions
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 ----------------------------------------------------------