Revert "Fix project-local build flags being ignored."
commit00537e35ba04214c340da786547dfd4f477460ca
authorMikolaj Konarski <mikolaj.konarski@gmail.com>
Wed, 8 Feb 2023 16:08:09 +0000 (8 17:08 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 14 Feb 2023 13:50:11 +0000 (14 13:50 +0000)
treeec4985ea6050194e9f63177b5e050a22051b4c2c
parentb4d3ca195a33dab8f596a896e1f75cb6c9391868
Revert "Fix project-local build flags being ignored."

This reverts commit b547ead58bf09bb838c13f02afb2f1042ad1bc7c
from https://github.com/haskell/cabal/pull/8623.
Unexpected side-effect has been found, so these code
improvements have to be done differently.
The other commit in the PR is a test and it's retained.

(cherry picked from commit 533cbc1e6f1915a1eca240b68b0b2ea281309963)
cabal-install/src/Distribution/Client/Configure.hs
cabal-install/src/Distribution/Client/Install.hs
cabal-install/src/Distribution/Client/ProjectPlanOutput.hs
cabal-install/src/Distribution/Client/ProjectPlanning.hs
cabal-install/src/Distribution/Client/SetupWrapper.hs
cabal-install/tests/IntegrationTests2.hs
changelog.d/pr-8623 [deleted file]