Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. Oct 12, 2020
  2. Oct 10, 2020
  3. Oct 09, 2020
  4. Oct 03, 2020
  5. Oct 02, 2020
  6. Sep 27, 2020
  7. Sep 25, 2020
  8. Sep 24, 2020
  9. Sep 23, 2020
  10. Sep 18, 2020
  11. Sep 17, 2020
  12. Sep 16, 2020
  13. Sep 15, 2020
    • Eric Conlon's avatar
      Pass -optcxx for GHC >= 8.10 · 28380790
      Eric Conlon authored
      Fixes https://github.com/haskell/cabal/issues/6421
      
      To summarize, Cabal passes all C and C++ flags through GHC to the underlying C or C++ compiler using -optc. This works for GHC < 8.10, but now GHC expects C++ flags to come through -optcxx. This means that anything through -optc is ignored, so we cannot pass any flags to the C++ compiler. This change simply detects the GHC version and uses the correct arguments.
      
      This PR has been tested manually and two PackageTests have been added to cabal-testsuite. They pass under GHC 8.8.4 and GHC 8.10.2.
      28380790
  14. Sep 14, 2020
  15. Sep 13, 2020
Loading