diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-10-26 12:29:06 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-10-26 12:29:06 +0000 |
commit | b6eec100fcbed77d210d19f46d09ebc4e01059c8 (patch) | |
tree | a34c7f265c185825be0a3fa238f3ae75b45345d1 /ghc.mk | |
parent | 9917b748b1adc255cc6d603bff5fe6d8df70d5fc (diff) | |
download | haskell-b6eec100fcbed77d210d19f46d09ebc4e01059c8.tar.gz |
fix stage1_libs pseudo-target
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -458,9 +458,6 @@ ifeq "$(BuildSharedLibs)" "YES" ALL_STAGE1_LIBS += $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_dyn_LIB)) endif BOOT_LIBS = $(foreach lib,$(STAGE0_PACKAGES),$(libraries/$(lib)_dist-boot_v_LIB)) -# A useful pseudo-target -.PHONY: stage1_libs -stage1_libs : $(ALL_STAGE1_LIBS) OTHER_LIBS = libffi/dist-install/build/libHSffi$(v_libsuf) libffi/dist-install/build/HSffi.o ifeq "$(BuildSharedLibs)" "YES" @@ -679,6 +676,11 @@ endif include $(patsubst %, %/ghc.mk, $(BUILD_DIRS)) +# A useful pseudo-target (must be after the include above, because it needs +# the value of things like $(libraries/base_dist-install_v_LIB). +.PHONY: stage1_libs +stage1_libs : $(ALL_STAGE1_LIBS) + # ---------------------------------------------- # Per-package compiler flags # |