Remove directories from include paths
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 16 Sep 2016 15:49:24 +0000 (11:49 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 16 Sep 2016 15:49:25 +0000 (11:49 -0400)
commitea310f9956179f91ca973bc747b0bc7b061bc174
tree0f32a6b60091c6a53f9303cbce166ef81493e58a
parent97b47d277d6b0ced3ce73175f78b23ecff84cfa3
Remove directories from include paths

Previously this was a relative path which worked in the GHC tree, but
failed elsewhere. This caused trouble for out-of-tree users as well as
Hadrian, which wants to move build artifacts out of the working
directory. Fixes #8040.

Test Plan: Validate

Reviewers: thomie, austin, snowleopard, hvr

Reviewed By: snowleopard, hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2530

GHC Trac Issues: #8040
compiler/HsVersions.h
compiler/ghc.mk
compiler/main/DynFlags.hs
compiler/main/PlatformConstants.hs
rules/build-dependencies.mk