mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Remove -xarch=generic:
1) When speccifying an architecture using -xarch/-xtarget, it needs to come before the compilation type (e.g. -fast) flags 2) It makes it hard to build 64-bit builds using -xarch=v9,v9a and v9b. Suggestion from Tomas Puverle. [SVN r34353]
This commit is contained in:
@@ -48,7 +48,7 @@ generators.register-c-compiler sun.compile.c++ : CPP : OBJ : <toolset>sun ;
|
||||
# Declare flags and actions for compilation
|
||||
flags sun.compile OPTIONS <debug-symbols>on : -g ;
|
||||
flags sun.compile OPTIONS <profiling>on : -xprofile=tcov ;
|
||||
flags sun.compile OPTIONS <optimization>speed : -fast -xarch=generic ;
|
||||
flags sun.compile OPTIONS <optimization>speed : -fast ;
|
||||
flags sun.compile OPTIONS <optimization>space : -xO2 -xspace ;
|
||||
flags sun.compile OPTIONS <threading>multi : -mt ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user