summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/makefile.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/basebmp/source/makefile.mk b/basebmp/source/makefile.mk
index f80812f2ed85..86b166d35d1e 100644
--- a/basebmp/source/makefile.mk
+++ b/basebmp/source/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.7 $
+# $Revision: 1.8 $
#
# This file is part of OpenOffice.org.
#
@@ -57,6 +57,12 @@ CDEFS+= -DVIGRA_HAS_LONG_DOUBLE
CDEFS+= -DBASEBMP_NO_NESTED_TEMPLATE_PARAMETER -DVIGRA_WITHOUT_NESTED_TEMPLATE_PARAMS
.ENDIF
+# SunStudio 12, LP64 mode (-m64): three test cases of the unit tests fail
+# if compiled with default -xalias_level (and optimization level -xO3)
+.IF "$(OS)$(CPU)"=="SOLARISU"
+CDEFS+=-xalias_level=compatible
+.ENDIF
+
# --- Common ----------------------------------------------------------
SLOFILES = \