thunderbird: fix for gcc 6

This commit is contained in:
Fredrik Rinnestam 2016-10-16 00:58:38 +02:00
parent 78abcad049
commit a175b41dc1
2 changed files with 55 additions and 53 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/VTWG+BL3MQKo292Oq/tXl5bJlFckNaR1egwkiCAfLUsJQqoMKBIJYUAa3hMIoB8OzP2bICIxVHxn+T/gLxfewI=
SHA256 (Pkgfile) = ab6d28705e6a2b352ba777ee2878c7b3aaed1463967b7ecdb0cfc3d87a325787
RWSE3ohX2g5d/U62Mq+EcEZLfhN3e77q4RBJysp6xGilezOLQz6cEF9cUcRkgGLVNZYT+6D8FpWVYUTMeCsqVgtvv3NCOSqtnA8=
SHA256 (Pkgfile) = 947d767c6eb7e1b8cf1ae1245269ca51491091905a8e85a670a59e3cd9462d72
SHA256 (.footprint) = 2daa462302879852fb9928e1df5112f8c5a5fd13f38456fc41a9d135202e53a4
SHA256 (thunderbird-45.4.0.source.tar.xz) = 36f66edbb9b0f1ff9d0de8f12eab6cccbfa23db79e01db307fb2186904a38e61
SHA256 (thunderbird.desktop) = c6bc6a66f16951c4f7560d019dad48968169aef6587cef4e98380a300078299a

View File

@ -5,7 +5,7 @@
name=thunderbird
version=45.4.0
release=1
release=2
source=(http://ftp.mozilla.org/pub/thunderbird/releases/$version/source/$name-$version.source.tar.xz
$name.desktop thunderbird-install-dir.patch thunderbird-gcc6.patch)
@ -15,6 +15,8 @@ build() {
patch -p1 -i $SRC/thunderbird-install-dir.patch
patch -p1 -i $SRC/thunderbird-gcc6.patch
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/$name"
export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
export CXXFLAGS="$CXXFLAGS -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
cat <<- EOF > .mozconfig
mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS -s"