File no-Werror-rpath.diff of Package libqt5-qtwebkit

--- qtwebkit/Tools/qmake/mkspecs/features/unix/default_post.prf	2012/12/06 19:59:43	1.1
+++ qtwebkit/Tools/qmake/mkspecs/features/unix/default_post.prf	2012/12/06 20:00:17
@@ -15,7 +15,7 @@
 linux-*g++* {
     !production_build {
         # Treat warnings as errors on x86/Linux/GCC
-        isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror
+#        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)) {
@@ -32,7 +32,7 @@
     QMAKE_OBJECTIVE_CFLAGS += -Wno-c++11-extensions -Wno-c++0x-extensions
 }
 
-contains(TEMPLATE, app): CONFIG += rpath
+#contains(TEMPLATE, app): CONFIG += rpath
 
 isEqual(QT_ARCH,i386):CONFIG(debug, debug|release) {
   # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
openSUSE Build Service is sponsored by