Commit 500ab744 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Minor changes.

parent eeea3ed7
......@@ -4,8 +4,9 @@ import Package.Base
import Package.Data
import Package.Dependencies
-- These are the packages we build
-- See Package.Base for definitions of basic types
-- These are the packages we build:
packages :: [Package]
packages = [libraryPackage "deepseq" Stage1 defaultSettings]
......
......@@ -62,11 +62,10 @@ commonCppArgs :: Args
commonCppArgs = mempty -- TODO: Why empty? Perhaps drop it altogether?
commonCcWarninigArgs :: Args
commonCcWarninigArgs = when Validating $ mconcat
[ when GccIsClang $ arg "-Wno-unknown-pragmas"
, when (not GccIsClang && not GccLt46) $ arg "-Wno-error=inline"
, when ( GccIsClang && not GccLt46 && windowsHost) $ arg "-Werror=unused-but-set-variable"
]
commonCcWarninigArgs = when Validating $
when GccIsClang (arg "-Wno-unknown-pragmas")
<> when (not GccIsClang && not GccLt46) (arg "-Wno-error=inline")
<> when ( GccIsClang && not GccLt46 && windowsHost) (arg "-Werror=unused-but-set-variable" )
bootPkgConstraints :: Args
bootPkgConstraints = mempty
......
{-# LANGUAGE NoImplicitPrelude, ScopedTypeVariables #-}
module Package.Data (
buildPackageData
) where
module Package.Data (buildPackageData) where
import Package.Base
......
{-# LANGUAGE NoImplicitPrelude #-}
module Package.Dependencies (
buildPackageDependencies
) where
module Package.Dependencies (buildPackageDependencies) where
import Package.Base
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment