Skip to content
  • rwbarton's avatar
    Only build iserv with -threaded if GhcThreaded is set · 317ceb41
    rwbarton authored and Ben Gamari's avatar Ben Gamari committed
    By default GhcThreaded is set by
    ```
    GhcThreaded = $(if $(findstring thr,$(GhcRTSWays)),YES,NO)
    ```
    so it seems incorrect to try to build iserv with -threaded when
    GhcThreaded is not set. This came up when I was building GHC with
    some strange combination of flavours (debugged and profiled but not
    threaded).
    
    Test Plan: harbormaster
    
    Reviewers: simonmar, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie, snowleopard
    
    Differential Revision: https://phabricator.haskell.org/D3429
    317ceb41