change extra/firefox from GCC 4.6 to GCC 4.7

This commit is contained in:
Dan Cecile 2012-06-19 20:16:38 -04:00
parent 3d8d57a973
commit 64d31f6aa8

View file

@ -2,6 +2,11 @@
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Jakub Schmidtke <sjakub@gmail.com>
# ALARM: Dan Cecile <dancecile@gmail.com>
# - changed GCC from 4.6 to system default
buildarch=4
pkgname=firefox
pkgver=13.0.1
pkgrel=1
@ -12,7 +17,7 @@ depends=('gtk2' 'mozilla-common' 'libxt' 'startup-notification' 'mime-types' 'db
'libnotify' 'desktop-file-utils' 'hicolor-icon-theme'
'libvpx' 'libevent' 'nss>=3.13.3' 'hunspell' 'sqlite')
makedepends=('unzip' 'zip' 'diffutils' 'python2' 'wireless_tools' 'yasm' 'mesa'
'autoconf2.13' 'libidl2' 'xorg-server-xvfb' 'imake' 'gcc4.6')
'autoconf2.13' 'libidl2' 'xorg-server-xvfb' 'imake')
optdepends=('wireless_tools: Location detection via available WiFi networks')
url="http://www.mozilla.org/projects/firefox"
install=firefox.install
@ -35,9 +40,6 @@ build() {
sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' \
browser/base/Makefile.in
export CC=gcc-4.6
export CXX=g++-4.6
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"
export MOZ_MAKE_FLAGS="$MAKEFLAGS"