diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-10-28 16:38:38 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-10-28 16:38:38 +0000 |
commit | 0b3f346d173ae177ab2656b5e9953e5a310eebe1 (patch) | |
tree | 9360a5fd8ba2d5d9363597bd00b647f439b37bb9 /basebmp | |
parent | ada35cded048fd19660c62266a827a7c8e0f5054 (diff) |
CWS-TOOLING: integrate CWS basebmpunittestfix
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/source/makefile.mk | 4 | ||||
-rw-r--r-- | basebmp/test/makefile.mk | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/basebmp/source/makefile.mk b/basebmp/source/makefile.mk index 86b166d35d1e..658465523bfc 100644 --- a/basebmp/source/makefile.mk +++ b/basebmp/source/makefile.mk @@ -57,9 +57,9 @@ 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 +# 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)$(CPU)"=="SOLARISU" +.IF "$(OS)"=="SOLARIS" CDEFS+=-xalias_level=compatible .ENDIF 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 ---------------------------------------------------------------- |