summaryrefslogtreecommitdiffstats
path: root/basebmp/test/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp/test/makefile.mk')
-rw-r--r--basebmp/test/makefile.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/basebmp/test/makefile.mk b/basebmp/test/makefile.mk
index b9f81f11c890..d91f51595a9a 100644
--- a/basebmp/test/makefile.mk
+++ b/basebmp/test/makefile.mk
@@ -55,6 +55,12 @@ CFLAGS += -fno-inline
.ENDIF
+# 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"
+CDEFS+=-xalias_level=compatible
+.ENDIF
+
# --- Common ----------------------------------------------------------
# BEGIN ----------------------------------------------------------------