diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-16 01:25:45 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-16 01:25:45 +0100 |
commit | 5cd52bfd00de6ba168d4447cc67b74686681786d (patch) | |
tree | 2e2249b6c95d428da332e336727537f9f4c6a591 | |
parent | 81f43eb4fb5b40e65ae5bb435bc2ae8eb2f3ffca (diff) | |
download | haskell-5cd52bfd00de6ba168d4447cc67b74686681786d.tar.gz |
Build system fix for building a profiling GHC
-rw-r--r-- | ghc.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -677,6 +677,9 @@ endif # BUILD_DIRS_EXTRA needs to come after BUILD_DIRS, because stuff in # libraries/dph/ghc.mk refers to stuff defined earlier, in particular # things like $(libraries/dph/dph-base_dist-install_GHCI_LIB) +ifeq "$(GhcProfiled)" "YES" +BUILD_DIRS_EXTRA := $(filter-out libraries/dph,$(BUILD_DIRS_EXTRA)) +endif include $(patsubst %, %/ghc.mk, $(BUILD_DIRS) $(BUILD_DIRS_EXTRA)) # A useful pseudo-target (must be after the include above, because it needs |