summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-06 13:34:41 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-06 16:03:10 +0200
commit44a661dc422f15ddbc7c755a9f0720ce9787f362 (patch)
tree3007b3af5ce4ea6f726c2cc0c9fc711e311b00a6
parent230078f77bd32fab0b8e76f8a887f54fb98e342d (diff)
bootstrap: use the new toolchain
-rw-r--r--cerbero/bootstrap/windows.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cerbero/bootstrap/windows.py b/cerbero/bootstrap/windows.py
index 9ccfa8e..fb66ad2 100644
--- a/cerbero/bootstrap/windows.py
+++ b/cerbero/bootstrap/windows.py
@@ -28,9 +28,10 @@ from cerbero.utils import shell, _, fix_winpath, to_unixpath, git
from cerbero.utils import messages as m
# Toolchain
+GCC_VERSION = '4.7.2'
MINGW_DOWNLOAD_SOURCE = 'http://www.freedesktop.org/software/gstreamer-sdk/'\
'data/packages/2012.5/windows/toolchain'
-MINGW_TARBALL_TPL = "mingw-%s-%s-%s.tar.xz"
+MINGW_TARBALL_TPL = "mingw-%s-gcc-%s-%s-%s.tar.xz"
# Extra dependencies
MINGWGET_DEPS = ['msys-wget']
@@ -79,8 +80,8 @@ class WindowsBootstraper(BootstraperBase):
os.makedirs(etc_path)
def install_mingw(self):
- tarball = MINGW_TARBALL_TPL % (self.version, self.platform,
- self.arch)
+ tarball = MINGW_TARBALL_TPL % (self.version, GCC_VERSION,
+ self.platform, self.arch)
tarfile = os.path.join(self.prefix, tarball)
tarfile = to_unixpath(os.path.abspath(tarfile))