From 2776a44d7db26d24ac9633eb8e7a1b68f13adfef Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 19 Jun 2006 06:51:54 +0000 Subject: [PATCH] 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] --- src/tools/sun.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/sun.jam b/src/tools/sun.jam index 05426cb93..9ec4f6e4e 100644 --- a/src/tools/sun.jam +++ b/src/tools/sun.jam @@ -48,7 +48,7 @@ generators.register-c-compiler sun.compile.c++ : CPP : OBJ : sun ; # Declare flags and actions for compilation flags sun.compile OPTIONS on : -g ; flags sun.compile OPTIONS on : -xprofile=tcov ; -flags sun.compile OPTIONS speed : -fast -xarch=generic ; +flags sun.compile OPTIONS speed : -fast ; flags sun.compile OPTIONS space : -xO2 -xspace ; flags sun.compile OPTIONS multi : -mt ;