diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-10-30 14:29:40 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-10-30 14:29:40 +0000 |
commit | 03be7f057a653f0dc4203cc78a5c96ab8fc2a51b (patch) | |
tree | 6b30b2998719521503bf8be66b280693b15cb051 /basebmp | |
parent | 4a84f63b1a408d8c10950d53b0279363d8387672 (diff) |
#i10000# Do not use '-xalias_level=compatible' for old Sun Studio 8 compiler.
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/source/makefile.mk | 3 |
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 ---------------------------------------------------------- |