diff options
Diffstat (limited to 'hadrian/src/Builder.hs')
-rw-r--r-- | hadrian/src/Builder.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs index 160eb44f7a..b80ac59f8d 100644 --- a/hadrian/src/Builder.hs +++ b/hadrian/src/Builder.hs @@ -390,6 +390,10 @@ instance H.Builder Builder where isOptional :: Builder -> Bool isOptional = \case Objdump -> True + -- alex and happy are not required when building source distributions + -- and ./configure will complain if they are not available when building in-tree + Happy -> True + Alex -> True _ -> False -- | Determine the location of a system 'Builder'. |