From ea310f9956179f91ca973bc747b0bc7b061bc174 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 16 Sep 2016 11:49:24 -0400 Subject: 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 --- rules/build-dependencies.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'rules/build-dependencies.mk') diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk index 8152691c01..1905a0e4d6 100644 --- a/rules/build-dependencies.mk +++ b/rules/build-dependencies.mk @@ -24,6 +24,7 @@ $1_$2_C_FILES_DEPS = $$(filter-out $$($1_$2_C_FILES_NODEPS),$$($1_$2_C_FILES)) $1_$2_MKDEPENDHS_FLAGS = -dep-makefile $$($1_$2_depfile_haskell).tmp $$(foreach way,$$($1_$2_WAYS),-dep-suffix "$$(patsubst %o,%,$$($$(way)_osuf))") $1_$2_MKDEPENDHS_FLAGS += -include-pkg-deps +$1_$2_MKDEPENDHS_FLAGS += $(addprefix -I,$($1_INCLUDE_DIRS)) ifneq "$$(NO_GENERATED_MAKEFILE_RULES)" "YES" -- cgit v1.2.1