@conf
def sxx_common_flags(conf):
    """
	Flags required for executing the sun C++ compiler
	"""
    v = conf.env
    v.CXX_SRC_F = []
    v.CXX_TGT_F = ['-c', '-o', '']
    if not v.LINK_CXX:
        v.LINK_CXX = v.CXX
    v.CXXLNK_SRC_F = []
    v.CXXLNK_TGT_F = ['-o', '']
    v.CPPPATH_ST = '-I%s'
    v.DEFINES_ST = '-D%s'
    v.LIB_ST = '-l%s'
    v.LIBPATH_ST = '-L%s'
    v.STLIB_ST = '-l%s'
    v.STLIBPATH_ST = '-L%s'
    v.SONAME_ST = '-Wl,-h,%s'
    v.SHLIB_MARKER = '-Bdynamic'
    v.STLIB_MARKER = '-Bstatic'
    v.cxxprogram_PATTERN = '%s'
    v.CXXFLAGS_cxxshlib = ['-xcode=pic32', '-DPIC']
    v.LINKFLAGS_cxxshlib = ['-G']
    v.cxxshlib_PATTERN = 'lib%s.so'
    v.LINKFLAGS_cxxstlib = ['-Bstatic']
    v.cxxstlib_PATTERN = 'lib%s.a'
