All projects changed to build with -xarch=v8plus when using the Workshop compiler on Solaris.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@724 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-07-27 22:24:38 +00:00
parent af49935bcb
commit a157ff5fb4
4 changed files with 14 additions and 6 deletions

View File

@@ -965,7 +965,7 @@ ifdef unix_target
# Must support 64 bit file sizes - even for 32 bit builds.
ccdefs += _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
ccflags += -xarch=generic
ccflags += -xarch=v8plus
endif
endif
endif
@@ -1047,7 +1047,7 @@ ifdef unix_target
ifeq ($(target_word_size),64)
link_flags += -xarch=generic64
else
link_flags += -xarch=generic
link_flags += -xarch=v8plus
endif
endif

View File

@@ -928,7 +928,7 @@ ifdef unix_target
# Must support 64 bit file sizes - even for 32 bit builds.
ccdefs += _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
ccflags += -xarch=generic
ccflags += -xarch=v8plus
endif
endif
endif
@@ -1008,7 +1008,7 @@ ifdef unix_target
ifeq ($(target_word_size),64)
link_flags += -xarch=generic64
else
link_flags += -xarch=generic
link_flags += -xarch=v8plus
endif
endif

View File

@@ -1189,6 +1189,14 @@ FLMUINT f_getFSBlockSize(
return( uiFSBlkSize);
}
/****************************************************************************
Desc: Remove this error pragma if you really intend to run with
mutex-based atomics
****************************************************************************/
#if defined( FLM_SOLARIS) && !defined( FLM_SPARC_PLUS)
#error This Solaris build will use mutex-based atomics.
#endif
/****************************************************************************
Desc:
****************************************************************************/

View File

@@ -989,7 +989,7 @@ ifdef unix_target
# Must support 64 bit file sizes - even for 32 bit builds.
ccdefs += _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
ccflags += -xarch=generic
ccflags += -xarch=v8plus
endif
endif
endif
@@ -1072,7 +1072,7 @@ ifdef unix_target
ifeq ($(target_word_size),64)
link_flags += -xarch=generic64
else
link_flags += -xarch=generic
link_flags += -xarch=v8plus
endif
endif