Title: [160996] trunk/Source
Revision
160996
Author
[email protected]
Date
2013-12-23 07:55:02 -0800 (Mon, 23 Dec 2013)

Log Message

[GTK] Clean up compiler optimizations flags for libWTF, libJSC
https://bugs.webkit.org/show_bug.cgi?id=126157

Reviewed by Gustavo Noronha Silva.

Source/_javascript_Core: 

* GNUmakefile.am: Remove the -fstrict-aliasing and -O3 compiler flags for libWTF.la. -O3 gets
overridden by -O2 that's listed in CXXFLAGS (or -O0 in case of debug builds) and -fstrict-aliasing
is enabled when -O2 is used (and shouldn't be enabled in debug builds anyway).

Source/WTF: 

* GNUmakefile.am: Remove the -fstrict-aliasing and -O3 compiler flags for libWTF.la. -O3 gets
overridden by -O2 that's listed in CXXFLAGS (or -O0 in case of debug builds) and -fstrict-aliasing
is enabled when -O2 is used (and shouldn't be enabled in debug builds anyway).

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (160995 => 160996)


--- trunk/Source/_javascript_Core/ChangeLog	2013-12-23 14:46:53 UTC (rev 160995)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-12-23 15:55:02 UTC (rev 160996)
@@ -1,3 +1,14 @@
+2013-12-23  Zan Dobersek  <[email protected]>
+
+        [GTK] Clean up compiler optimizations flags for libWTF, libJSC
+        https://bugs.webkit.org/show_bug.cgi?id=126157
+
+        Reviewed by Gustavo Noronha Silva.
+
+        * GNUmakefile.am: Remove the -fstrict-aliasing and -O3 compiler flags for libWTF.la. -O3 gets
+        overridden by -O2 that's listed in CXXFLAGS (or -O0 in case of debug builds) and -fstrict-aliasing
+        is enabled when -O2 is used (and shouldn't be enabled in debug builds anyway).
+
 2013-12-22  Martin Robinson  <[email protected]>
 
         [CMake] Fix typo from r160812

Modified: trunk/Source/_javascript_Core/GNUmakefile.am (160995 => 160996)


--- trunk/Source/_javascript_Core/GNUmakefile.am	2013-12-23 14:46:53 UTC (rev 160995)
+++ trunk/Source/_javascript_Core/GNUmakefile.am	2013-12-23 15:55:02 UTC (rev 160996)
@@ -38,8 +38,6 @@
 	$(libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS)
 
 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
-	-fstrict-aliasing \
-	-O3 \
 	$(_javascript_core_cflags)
 
 libjavascriptcoregtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \

Modified: trunk/Source/WTF/ChangeLog (160995 => 160996)


--- trunk/Source/WTF/ChangeLog	2013-12-23 14:46:53 UTC (rev 160995)
+++ trunk/Source/WTF/ChangeLog	2013-12-23 15:55:02 UTC (rev 160996)
@@ -1,3 +1,14 @@
+2013-12-23  Zan Dobersek  <[email protected]>
+
+        [GTK] Clean up compiler optimizations flags for libWTF, libJSC
+        https://bugs.webkit.org/show_bug.cgi?id=126157
+
+        Reviewed by Gustavo Noronha Silva.
+
+        * GNUmakefile.am: Remove the -fstrict-aliasing and -O3 compiler flags for libWTF.la. -O3 gets
+        overridden by -O2 that's listed in CXXFLAGS (or -O0 in case of debug builds) and -fstrict-aliasing
+        is enabled when -O2 is used (and shouldn't be enabled in debug builds anyway).
+
 2013-12-20  Anders Carlsson  <[email protected]>
 
         Replace yield() and pauseBriefly() with std::this_thread::yield()

Modified: trunk/Source/WTF/GNUmakefile.am (160995 => 160996)


--- trunk/Source/WTF/GNUmakefile.am	2013-12-23 14:46:53 UTC (rev 160995)
+++ trunk/Source/WTF/GNUmakefile.am	2013-12-23 15:55:02 UTC (rev 160996)
@@ -29,8 +29,6 @@
 	$(libWTF_la_CFLAGS)
 
 libWTF_la_CFLAGS = \
-	-fstrict-aliasing \
-	-O3 \
 	$(global_cflags) \
 	$(GLIB_CFLAGS) \
 	$(UNICODE_CFLAGS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to