diff options
author | Graeme Gregory <dp@xora.org.uk> | 2009-03-30 15:41:49 +0100 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2009-03-30 15:41:49 +0100 |
commit | 80570a8a80155e65f38261514be8102ff0bb62cc (patch) | |
tree | ffdd325ae078f0e7d612ee240c4e6671c0fa036f /recipes/mozilla/firefox-3.0.8/0001-Remove-Werror-from-build.patch | |
parent | 2263e973b5822e46566d8a5a33d306723617b1cb (diff) |
firefox_3.0.8.bb : add new version, seems to compile with modern gcc
so made it the default.
Diffstat (limited to 'recipes/mozilla/firefox-3.0.8/0001-Remove-Werror-from-build.patch')
-rw-r--r-- | recipes/mozilla/firefox-3.0.8/0001-Remove-Werror-from-build.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-3.0.8/0001-Remove-Werror-from-build.patch b/recipes/mozilla/firefox-3.0.8/0001-Remove-Werror-from-build.patch new file mode 100644 index 0000000000..8fe1087b4d --- /dev/null +++ b/recipes/mozilla/firefox-3.0.8/0001-Remove-Werror-from-build.patch @@ -0,0 +1,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 |