haskell / haskell/cabal

Incorrect warning when passing `-l` RTS option

Open
#7,332 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

When passing the `-l` RTS option to enable the eventlog, then cabal warns me about using `extra-libraries`, which is for the GHC option `-l`.

```
ghc-options: +RTS -l -RTS
```

I get the following warning

```
Warning: Instead of 'ghc-options: -l' use 'extra-libraries: '
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.