2009/11/2 Hironori Bono (坊野 博典) <hb...@chromium.org>:
> 1. Creating a file "~/.gyp/inclulde.gypi'.
> 2. Adding a following lines to the file.
>
>  {
>    'variables': {
>      'no_strict_aliasing': 1
>    }
>  }

If you're only building chrome, not the unit_tests target, you can
instead define gcc_version to 44.  This is picked up in v8.gyp to
enable the appropriate flags, but leaves strict aliasing on for the
rest of chrome.

 {
   'variables': {
     'gcc_version': 44,
   }
 }

I figure this is a better option as regressions will be caught as they
are introduced.

Joel

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to