Skip to content

Commit

Permalink
Merge pull request #7664 from haskell/mergify/bp/3.6/pr-7651
Browse files Browse the repository at this point in the history
Revert PR #7510 (which was "Set PATH_SEPARATOR=; when calling ./configure") (backport #7651)
  • Loading branch information
jneira authored Sep 19, 2021
2 parents 7b7b780 + 8fff340 commit f27710c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions Cabal/src/Distribution/Simple.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE LambdaCase #-}
Expand Down Expand Up @@ -716,11 +715,6 @@ runConfigureScript verbosity backwardsCompatHack flags lbi = do
pathEnv = maybe (intercalate spSep extraPath)
((intercalate spSep extraPath ++ spSep)++) $ lookup "PATH" env
overEnv = ("CFLAGS", Just cflagsEnv) :
-- TODO: Move to either Cabal/src/Distribution/Compat/Environment.hs
-- or Cabal/src/Distribution/Compat/FilePath.hs:
#ifdef mingw32_HOST_OS
("PATH_SEPARATOR", Just ";") :
#endif
[("PATH", Just pathEnv) | not (null extraPath)]
hp = hostPlatform lbi
maybeHostFlag = if hp == buildPlatform then [] else ["--host=" ++ show (pretty hp)]
Expand Down
4 changes: 0 additions & 4 deletions changelog.d/pr-7510

This file was deleted.

0 comments on commit f27710c

Please sign in to comment.