UserSettings.hs 412 Bytes
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module UserSettings (
    userSettings
    ) where

import Base hiding (arg, args, Args)
import Rules.Data
import Oracles.Builder
import Expression
import Expression.Settings

userSettings :: Settings
userSettings = mconcat
    [ package compiler ? stage Stage0 ? append ["foo", "bar"]
    , builder (Ghc Stage0) ? remove ["-O2"]
    , builder GhcCabal ? removeSub "--configure-option=CFLAGS" ["-Werror"]
    ]