Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Iustin Pop
GHC
Commits
4499b294
Unverified
Commit
4499b294
authored
Nov 20, 2017
by
Andrey Mokhov
Committed by
GitHub
Nov 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow GHC changes (#479)
parent
8fd68186
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
src/Rules/Program.hs
src/Rules/Program.hs
+0
-3
src/Settings/Warnings.hs
src/Settings/Warnings.hs
+0
-2
No files found.
src/Rules/Program.hs
View file @
4499b294
...
...
@@ -92,7 +92,6 @@ buildWrapper context@Context {..} wrapper wrapperPath wrapped = do
putSuccess
$
"| Successfully created wrapper for "
++
quote
(
pkgName
package
)
++
" ("
++
show
stage
++
")."
-- TODO: Get rid of the Paths_hsc2hs.o hack.
buildBinary
::
[(
Resource
,
Int
)]
->
FilePath
->
Context
->
Action
()
buildBinary
rs
bin
context
@
Context
{
..
}
=
do
binDeps
<-
if
stage
==
Stage0
&&
package
==
ghcCabal
...
...
@@ -107,8 +106,6 @@ buildBinary rs bin context@Context {..} = do
cObjs
<-
mapM
(
objectPath
context
)
cSrcs
hsObjs
<-
hsObjects
context
return
$
cObjs
++
hsObjs
++
[
path
-/-
"Paths_hsc2hs.o"
|
package
==
hsc2hs
]
++
[
path
-/-
"Paths_haddock.o"
|
package
==
haddock
]
need
binDeps
buildWithResources
rs
$
target
context
(
Ghc
LinkHs
stage
)
binDeps
[
bin
]
synopsis
<-
traverse
pkgSynopsis
(
pkgCabalFile
package
)
...
...
src/Settings/Warnings.hs
View file @
4499b294
...
...
@@ -32,8 +32,6 @@ warningArgs = builder Ghc ? do
,
package
binary
?
pure
[
"-Wno-deprecations"
]
,
package
bytestring
?
pure
[
"-Wno-inline-rule-shadowing"
]
,
package
compiler
?
pure
[
"-Wcpp-undef"
]
-- FIXME: See https://phabricator.haskell.org/D4121#117481.
,
input
"//SysTools.hs"
?
pure
[
"-Wno-unused-imports"
]
,
package
directory
?
pure
[
"-Wno-unused-imports"
]
,
package
ghc
?
pure
[
"-Wcpp-undef"
]
,
package
ghcPrim
?
pure
[
"-Wno-trustworthy-safe"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment