Bug 6532605 in sunpro cannot be fixed without breaking the ABI, so it

won't be fixed. mangle6 is an ABI that is as close to the default ABI as
possible (the STL is compatible) but fixes issues with the default ABI. I
don't really know what the best option will be for the future (maybe
using the g++ compatibility mode when it becomes official).
This commit is contained in:
Marc Glisse 2007-06-15 16:14:10 +00:00
parent a9e3ae7c29
commit df787b2418
1 changed files with 2 additions and 2 deletions

View File

@ -936,7 +936,7 @@ set_compiler_flags()
*SunOS*5.*CC*)
#### settings for sunpro compiler on solaris
SUNCC_COMPILER="y"
ADDITIONAL_CXXFLAGS="-features=extensions -D_RWSTD_ALLOCATOR"
ADDITIONAL_CXXFLAGS="-features=extensions -D_RWSTD_ALLOCATOR -Qoption ccfe -abiopt=mangle6"
CGAL_STATIC_LIB_CREATE="\$(CGAL_CXX) -xar -o ''"
CGAL_SHARED_LIB_CXXFLAGS="-PIC"
CGAL_SHARED_LIB_CREATE="\$(CGAL_CXX) -G"
@ -991,7 +991,7 @@ set_compiler_flags()
*Linux*sunCC*|*Linux*CC*)
#### settings for sunpro compiler on linux
SUNCC_COMPILER="y"
ADDITIONAL_CXXFLAGS="-features=extensions -D_RWSTD_ALLOCATOR"
ADDITIONAL_CXXFLAGS="-features=extensions -D_RWSTD_ALLOCATOR -Qoption ccfe -abiopt=mangle6"
CGAL_STATIC_LIB_CREATE="\$(CGAL_CXX) -xar -o ''"
CGAL_SHARED_LIB_CXXFLAGS="-PIC"
CGAL_SHARED_LIB_CREATE="\$(CGAL_CXX) -G"