Title: [199350] trunk/Tools
- Revision
- 199350
- Author
- [email protected]
- Date
- 2016-04-12 07:56:10 -0700 (Tue, 12 Apr 2016)
Log Message
Modify the CXXFLAGS in webkitdirs.pm just on architectures where the flags are supported
https://bugs.webkit.org/show_bug.cgi?id=156338
Patch by Tomas Popela <[email protected]> on 2016-04-12
Reviewed by Michael Catanzaro.
Add the "-march=pentium4 -msse2 -mfpmath=sse " into the CXXFLAGS just
for the i686 where it is supported and not for other architectures
(such as s390(x) and ppc(64)) where the build will fail with these
CXXFLAGS.
* Scripts/webkitdirs.pm:
(generateBuildSystemFromCMakeProject):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (199349 => 199350)
--- trunk/Tools/ChangeLog 2016-04-12 13:52:56 UTC (rev 199349)
+++ trunk/Tools/ChangeLog 2016-04-12 14:56:10 UTC (rev 199350)
@@ -1,3 +1,18 @@
+2016-04-12 Tomas Popela <[email protected]>
+
+ Modify the CXXFLAGS in webkitdirs.pm just on architectures where the flags are supported
+ https://bugs.webkit.org/show_bug.cgi?id=156338
+
+ Reviewed by Michael Catanzaro.
+
+ Add the "-march=pentium4 -msse2 -mfpmath=sse " into the CXXFLAGS just
+ for the i686 where it is supported and not for other architectures
+ (such as s390(x) and ppc(64)) where the build will fail with these
+ CXXFLAGS.
+
+ * Scripts/webkitdirs.pm:
+ (generateBuildSystemFromCMakeProject):
+
2016-04-11 Alex Christensen <[email protected]>
Build MiniBrowser with CMake on Mac
Modified: trunk/Tools/Scripts/webkitdirs.pm (199349 => 199350)
--- trunk/Tools/Scripts/webkitdirs.pm 2016-04-12 13:52:56 UTC (rev 199349)
+++ trunk/Tools/Scripts/webkitdirs.pm 2016-04-12 14:56:10 UTC (rev 199350)
@@ -2006,7 +2006,7 @@
# Compiler options to keep floating point values consistent
# between 32-bit and 64-bit architectures.
determineArchitecture();
- if ($architecture ne "x86_64" && !isARM() && !isCrossCompilation() && !isAnyWindows()) {
+ if ($architecture eq "i686" && !isCrossCompilation() && !isAnyWindows()) {
$ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . ($ENV{'CXXFLAGS'} || "");
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes