Ticket #2966: 0001-Fix-for-sun-compiler.patch

File 0001-Fix-for-sun-compiler.patch, 935 bytes (added by John <jwbito@…>, 13 years ago)
  • tools/sun.jam

    From a859e185c6b9d60875678d19dff28b5db9927db2 Mon Sep 17 00:00:00 2001
    From: John W. Bito <jwbito@gmail.com>
    Date: Fri, 24 Apr 2009 12:17:29 -0700
    Subject: [PATCH] Fix for sun compiler.
    
    ---
     tools/sun.jam |    4 ++++
     1 files changed, 4 insertions(+), 0 deletions(-)
    
    diff --git a/tools/sun.jam b/tools/sun.jam
    index 5b06aee..a8919af 100644
    a b flags sun.compile OPTIONS <profiling>on : -xprofile=tcov ;  
    5151flags sun.compile OPTIONS <optimization>speed : -fast ;
    5252flags sun.compile OPTIONS <optimization>space : -xO2 -xspace ;
    5353flags sun.compile OPTIONS <threading>multi : -mt ;
     54flags sun.compile OPTIONS <warnings>off : -erroff ;
     55flags sun.compile OPTIONS <warnings>on : -erroff=%none ;
     56flags sun.compile OPTIONS <warnings>all  : -erroff=%none
     57flags sun.compile OPTIONS <warnings-as-errors>on : -errwarn ;
    5458
    5559flags sun.compile.c++ OPTIONS <inlining>off : +d ;
    5660