From: Jan Rękorajski Date: Wed, 28 Jun 2017 19:54:24 +0000 (+0200) Subject: - try to fix build on i686 X-Git-Tag: auto/th/firefox-54.0-1~1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Ffirefox.git;a=commitdiff_plain;h=e783e2fa088acbe2037faef478ca8cf69e7314d2 - try to fix build on i686 --- 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).