--- a/Tools/Scripts/webkitdirs.pm +++ b/Tools/Scripts/webkitdirs.pm @@ -2064,9 +2064,6 @@ sub generateBuildSystemFromCMakeProject # Compiler options to keep floating point values consistent # between 32-bit and 64-bit architectures. determineArchitecture(); - if ($architecture ne "x86_64" && !isARM() && !isCrossCompilation() && !isAnyWindows()) { - $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . ($ENV{'CXXFLAGS'} || ""); - } # We call system("cmake @args") instead of system("cmake", @args) so that @args is # parsed for shell metacharacters.