From 800379c699bf38a8c193a9889fff85f69528d8e2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 7 Sep 2016 14:28:50 +0200 Subject: community/firefox-esr: fix build with gcc6 --- community/firefox-esr/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'community/firefox-esr/APKBUILD') diff --git a/community/firefox-esr/APKBUILD b/community/firefox-esr/APKBUILD index d2298af888..643106a7dd 100644 --- a/community/firefox-esr/APKBUILD +++ b/community/firefox-esr/APKBUILD @@ -4,7 +4,7 @@ pkgname=firefox-esr pkgver=45.3.0 _pkgver=$pkgver _xulver=$pkgver -pkgrel=0 +pkgrel=1 pkgdesc="Firefox web browser" url="https://www.mozilla.org/en-US/firefox/organizations/faq/" arch="all" @@ -102,7 +102,7 @@ build() { # mozilla's buildsystem is on drugs export CFLAGS="$(echo $CFLAGS | sed -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g')" - export CXXFLAGS="$CFLAGS" + export CXXFLAGS="$CFLAGS -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" export SHELL=/bin/sh # set rpath so linker finds the libs -- cgit v1.2.3