summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2016-12-08 16:33:11 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-08 18:44:55 -0500
commit1e5b7d701149dc20c9f92e722c32912c86d53081 (patch)
treea9e3959bad0abc4c2c44167fbc36bed4b7a4bbe8 /driver
parent6889400bd5ce6b481844fe5cfa7c9256ff5cd52f (diff)
downloadhaskell-1e5b7d701149dc20c9f92e722c32912c86d53081.tar.gz
Update Windows GCC driver.
Test Plan: None really, as none of our tests cover this usage. Probably should add one.. Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie, #ghc_windows_task_force Differential Revision: https://phabricator.haskell.org/D2810 GHC Trac Issues: #12871
Diffstat (limited to 'driver')
-rw-r--r--driver/gcc/gcc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/driver/gcc/gcc.c b/driver/gcc/gcc.c
index 517b008a12..e66accb804 100644
--- a/driver/gcc/gcc.c
+++ b/driver/gcc/gcc.c
@@ -48,11 +48,11 @@ int main(int argc, char** argv) {
preArgv[0] = mkString("-B%s", binDir);
preArgv[1] = mkString("-B%s/../lib", binDir);
#ifdef __MINGW64__
- preArgv[2] = mkString("-B%s/../lib/gcc/x86_64-w64-mingw32/5.2.0", binDir);
- preArgv[3] = mkString("-B%s/../libexec/gcc/x86_64-w64-mingw32/5.2.0", binDir);
+ preArgv[2] = mkString("-B%s/../lib/gcc/x86_64-w64-mingw32/6.2.0", binDir);
+ preArgv[3] = mkString("-B%s/../libexec/gcc/x86_64-w64-mingw32/6.2.0", binDir);
#else
- preArgv[2] = mkString("-B%s/../lib/gcc/i686-w64-mingw32/5.2.0", binDir);
- preArgv[3] = mkString("-B%s/../libexec/gcc/i686-w64-mingw32/5.2.0", binDir);
+ preArgv[2] = mkString("-B%s/../lib/gcc/i686-w64-mingw32/6.2.0", binDir);
+ preArgv[3] = mkString("-B%s/../libexec/gcc/i686-w64-mingw32/6.2.0", binDir);
#endif
run(exePath, 4, preArgv, argc - 1, argv + 1);
}