Title: [120203] trunk/Tools
- Revision
- 120203
- Author
- [email protected]
- Date
- 2012-06-13 07:27:04 -0700 (Wed, 13 Jun 2012)
Log Message
[Qt] Make it possible to disable -Werror in production builds
Reviewed by Tor Arne Vestbø.
Don't do -Werror if build-webkit is called with --qmakearg=CONFIG+=production_build,
something qt5.git's qtwebkit.pri will soon do.
* qmake/mkspecs/features/unix/default_post.prf:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (120202 => 120203)
--- trunk/Tools/ChangeLog 2012-06-13 14:22:13 UTC (rev 120202)
+++ trunk/Tools/ChangeLog 2012-06-13 14:27:04 UTC (rev 120203)
@@ -1,3 +1,14 @@
+2012-06-13 Simon Hausmann <[email protected]>
+
+ [Qt] Make it possible to disable -Werror in production builds
+
+ Reviewed by Tor Arne Vestbø.
+
+ Don't do -Werror if build-webkit is called with --qmakearg=CONFIG+=production_build,
+ something qt5.git's qtwebkit.pri will soon do.
+
+ * qmake/mkspecs/features/unix/default_post.prf:
+
2012-06-13 Dominik Röttsches <[email protected]>
[EFL] Store and compare md5sum of jhbuild files to trigger cleaning Dependencies
Modified: trunk/Tools/qmake/mkspecs/features/unix/default_post.prf (120202 => 120203)
--- trunk/Tools/qmake/mkspecs/features/unix/default_post.prf 2012-06-13 14:22:13 UTC (rev 120202)
+++ trunk/Tools/qmake/mkspecs/features/unix/default_post.prf 2012-06-13 14:27:04 UTC (rev 120203)
@@ -13,7 +13,7 @@
}
# Treat warnings as errors on x86/Linux/GCC
-linux-g++* {
+!production_build:linux-g++* {
isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror
greaterThan(QT_GCC_MAJOR_VERSION, 3):greaterThan(QT_GCC_MINOR_VERSION, 5) {
!contains(QMAKE_CXXFLAGS, -std=(c|gnu)\\+\\+(0x|11)) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes