File: 2001_build-without-Werror.patch

package info (click to toggle)
libmlocale 0.7.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,416 kB
  • sloc: cpp: 29,597; sh: 631; perl: 350; python: 220; makefile: 26; sed: 7
file content (15 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Disable building with -Werror.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: not needed, Debian-specific

--- a/mkspecs/common.pri
+++ b/mkspecs/common.pri
@@ -21,8 +21,6 @@
         contains( DEFINES, M_OS_MAEMO5 ) {
         } else { 
 	    !contains( M_BUILD_FEATURES, no-werror ) {
-	        QMAKE_CFLAGS *= -Werror
-	        QMAKE_CXXFLAGS *= -Werror
             }
         }
     }