[packages/firefox] - try to fix build on i686

baggins baggins at pld-linux.org
Wed Jun 28 21:54:41 CEST 2017


commit e783e2fa088acbe2037faef478ca8cf69e7314d2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jun 28 21:54:24 2017 +0200

    - try to fix build on i686

 firefox.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/firefox.spec b/firefox.spec
index 4f0a95f..5f3a79d 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -201,6 +201,9 @@ cp -p %{_datadir}/automake/config.* build/autoconf
 cat << 'EOF' > .mozconfig
 . $topsrcdir/browser/config/mozconfig
 
+export CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
+export CXXFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
+
 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
 
 # Options for 'configure' (same as command-line options).
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/e783e2fa088acbe2037faef478ca8cf69e7314d2



More information about the pld-cvs-commit mailing list