Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
sheaf
GHC
Commits
bd761185
Commit
bd761185
authored
Jun 12, 2020
by
Ben Gamari
🐢
Committed by
Marge Bot
Jun 14, 2020
Browse files
hadrian: Drop redundant GHC arguments
Cabal should already be passing this arguments to GHC.
parent
8bab9ff1
Changes
1
Show whitespace changes
Inline
Side-by-side
hadrian/src/Settings/Packages.hs
View file @
bd761185
...
@@ -273,10 +273,6 @@ rtsPackageArgs = package rts ? do
...
@@ -273,10 +273,6 @@ rtsPackageArgs = package rts ? do
let
ghcArgs
=
mconcat
let
ghcArgs
=
mconcat
[
arg
"-Irts"
[
arg
"-Irts"
,
arg
$
"-I"
++
path
,
arg
$
"-I"
++
path
,
flag
WithLibdw
?
if
not
(
null
libdwIncludeDir
)
then
arg
(
"-I"
++
libdwIncludeDir
)
else
mempty
,
flag
WithLibdw
?
if
not
(
null
libdwLibraryDir
)
then
arg
(
"-L"
++
libdwLibraryDir
)
else
mempty
,
flag
WithLibnuma
?
if
not
(
null
libnumaIncludeDir
)
then
arg
(
"-I"
++
libnumaIncludeDir
)
else
mempty
,
flag
WithLibnuma
?
if
not
(
null
libnumaLibraryDir
)
then
arg
(
"-L"
++
libnumaLibraryDir
)
else
mempty
,
arg
$
"-DRtsWay=
\"
rts_"
++
show
way
++
"
\"
"
,
arg
$
"-DRtsWay=
\"
rts_"
++
show
way
++
"
\"
"
-- Set the namespace for the rts fs functions
-- Set the namespace for the rts fs functions
,
arg
$
"-DFS_NAMESPACE=rts"
,
arg
$
"-DFS_NAMESPACE=rts"
...
...
Write
Preview
Supports
Markdown
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