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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
****************************************************************************/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user