[commit: ghc] wip/nfs-locking: Attempt to fix the 'unknown symbol stat' issue on Travis Linux (116e64d)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:19:32 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/116e64d5596233dcacff48ce7e5e0531f730e6bd/ghc
>---------------------------------------------------------------
commit 116e64d5596233dcacff48ce7e5e0531f730e6bd
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Jul 17 00:52:00 2016 +0100
Attempt to fix the 'unknown symbol stat' issue on Travis Linux
See #259.
>---------------------------------------------------------------
116e64d5596233dcacff48ce7e5e0531f730e6bd
src/Settings/Packages/Base.hs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Settings/Packages/Base.hs b/src/Settings/Packages/Base.hs
index 261c2bb..dce49e7 100644
--- a/src/Settings/Packages/Base.hs
+++ b/src/Settings/Packages/Base.hs
@@ -6,5 +6,6 @@ import Predicate
import UserSettings
basePackageArgs :: Args
-basePackageArgs = package base ?
- builder GhcCabal ? arg ("--flags=" ++ takeFileName (pkgPath integerLibrary))
+basePackageArgs = package base ? mconcat
+ [ builder GhcCabal ? arg ("--flags=" ++ takeFileName (pkgPath integerLibrary))
+ , builder Cc ? arg "-O2" ] -- Fix the 'unknown symbol stat' issue, see #259.
More information about the ghc-commits
mailing list