X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=df51855f8c23f13c2f3ff745e6825c491d58fa13;hb=78b8c3b9522b34488dbf51b85b1f1e5672a95ca0;hp=1545f4dde4db7ad62d82092a6e084eb52c48ec71;hpb=c91279a1e4fd631d42ad903eaf699a96c22f380e;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 1545f4d..df51855 100644 --- a/ghc.mk +++ b/ghc.mk @@ -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 #