]> git.pld-linux.org Git - packages/thunderbird.git/commitdiff
- added gcc bug workaround, still does not work
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 18 Mar 2017 20:24:59 +0000 (21:24 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 18 Mar 2017 20:24:59 +0000 (21:24 +0100)
mozilla-1245783.patch [new file with mode: 0644]
thunderbird.spec

diff --git a/mozilla-1245783.patch b/mozilla-1245783.patch
new file mode 100644 (file)
index 0000000..b0bd9ee
--- /dev/null
@@ -0,0 +1,17 @@
+# Remove when mozbz#1269319 lands
+
+--- firefox-45.0.1-orig/mozilla/js/src/Makefile.in     2016-05-17 14:53:58.753178403 +0200
++++ firefox-45.0.1/mozilla/js/src/Makefile.in  2016-05-17 14:53:28.432817862 +0200
+@@ -144,6 +144,11 @@ distclean::
+ CFLAGS += $(MOZ_ZLIB_CFLAGS)
++# Avoid GNU gcc bug #70526
++# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526#c14
++CFLAGS += -fno-schedule-insns2
++CXXFLAGS += -fno-schedule-insns2
++
+ # Silence warnings on AIX/HP-UX from non-GNU compilers
+ ifndef GNU_CC
+ ifeq ($(OS_ARCH),AIX)
+
index f5a4ab9e663767ffb16610ddfd12349fc6c4f412..334db1e1a7a221eca6e27466aa5868229ae02017 100644 (file)
@@ -35,6 +35,7 @@ Patch0:               prefs.patch
 Patch1:                no-subshell.patch
 Patch2:                enable-addons.patch
 Patch3:                mozilla-1269171-badalloc.patch
+Patch4:                mozilla-1245783.patch
 URL:           http://www.mozilla.org/projects/thunderbird/
 BuildRequires: GConf2-devel >= 1.2.1
 BuildRequires: alsa-lib-devel
@@ -134,14 +135,12 @@ funkcjonalność kalendarza.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 cat << EOF > .mozconfig
 mk_add_options MOZ_OBJDIR=%{objdir}
 
-export CFLAGS="%{rpmcflags}"
-export CXXFLAGS="%{rpmcflags}"
-
 %if %{with crashreporter}
 export MOZ_DEBUG_SYMBOLS=1
 %endif
@@ -168,8 +167,6 @@ ac_add_options --enable-debugger-info-modules
 ac_add_options --enable-crash-on-assert
 %else
 ac_add_options --disable-debug
-ac_add_options --disable-debug-modules
-ac_add_options --disable-logging
 ac_add_options --enable-optimize="%{rpmcflags} -Os"
 %endif
 ac_add_options --disable-strip
This page took 0.032148 seconds and 4 git commands to generate.