Changeset 103040 in webkit


Ignore:
Timestamp:
Dec 16, 2011, 12:28:21 AM (14 years ago)
Author:
Philippe Normand
Message:

[GTK] Rounding errors on 32-bit machines causes tests to fail
https://bugs.webkit.org/show_bug.cgi?id=72254

Initial patch by vanuan@gmail.com.
Reviewed by Martin Robinson.

  • Scripts/webkitdirs.pm:

(runAutogenForAutotoolsProjectIfNecessary): Pass additional
CXXFLAGS to autogen in an attempt to harmonize floating point
values between 32-bit and 64-bit architectures.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r103038 r103040  
     12011-12-15  Philippe Normand  <pnormand@igalia.com>
     2
     3        [GTK] Rounding errors on 32-bit machines causes tests to fail
     4        https://bugs.webkit.org/show_bug.cgi?id=72254
     5
     6        Initial patch by vanuan@gmail.com.
     7        Reviewed by Martin Robinson.
     8
     9        * Scripts/webkitdirs.pm:
     10        (runAutogenForAutotoolsProjectIfNecessary): Pass additional
     11        CXXFLAGS to autogen in an attempt to harmonize floating point
     12        values between 32-bit and 64-bit architectures.
     13
    1142011-12-16  Martin Robinson  <mrobinson@igalia.com>
    215
  • trunk/Tools/Scripts/webkitdirs.pm

    r102700 r103040  
    16221622    my $relSourceDir = File::Spec->abs2rel($sourceDir) || ".";
    16231623
     1624    # Compiler options to keep floating point values consistent
     1625    # between 32-bit and 64-bit architectures. The options are also
     1626    # used on Chromium build.
     1627    determineArchitecture();
     1628    if ($architecture ne "x86_64") {
     1629        $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse";
     1630    }
     1631
    16241632    # Prefix the command with jhbuild run.
    16251633    unshift(@buildArgs, "$relSourceDir/autogen.sh");
Note: See TracChangeset for help on using the changeset viewer.