summaryrefslogtreecommitdiff
path: root/packages/mozilla/firefox-3.0.4/0001-Remove-Werror-from-build.patch
blob: 8fe1087b4da495a4daee5c04cfb468007977cb1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From 48a378ae647cbd6f8466bd0e8dbb04400bb175a8 Mon Sep 17 00:00:00 2001
From: Eduardo Valentin <eduardo.valentin@openpossa.org>
Date: Thu, 24 Jul 2008 16:05:09 -0400
Subject: [PATCH 1/1] Remove -Werror from build

Remove -Werror from build

Signed-off-by: Eduardo Valentin <eduardo.valentin@openpossa.org>
---
 configure |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index a2d84ab..402e70a 100755
--- a/configure
+++ b/configure
@@ -5344,7 +5344,7 @@ if test "$GNU_CC"; then
         # Don't allow undefined symbols in libraries
         DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs"
     fi
-    WARNINGS_AS_ERRORS='-Werror'
+    WARNINGS_AS_ERRORS=''
     DSO_CFLAGS=''
     DSO_PIC_CFLAGS='-fPIC'
     _MOZ_RTTI_FLAGS_ON=${_COMPILER_PREFIX}-frtti
@@ -6811,7 +6811,7 @@ EOF
         IMPLIB='emximp -o'
         FILTER='emxexp -o'
         LDFLAGS='-Zmap'
-        WARNINGS_AS_ERRORS='-Werror'
+        WARNINGS_AS_ERRORS=''
         MOZ_DEBUG_FLAGS="-g -fno-inline"
         MOZ_OPTIMIZE_FLAGS="-O2"
         MOZ_OPTIMIZE_LDFLAGS="-s -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA"
@@ -7048,7 +7048,7 @@ else
 fi
 rm -f conftest*
        fi
-       WARNINGS_AS_ERRORS='-Werror'
+       WARNINGS_AS_ERRORS=''
        MOZ_OPTIMIZE_FLAGS="-xO4"
        MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -h $@ -o $@'
        MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -z muldefs -h $@ -o $@'
--
1.5.4.3