diff options
-rw-r--r-- | rts/ghc.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 24a4240c59..5465508a08 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -61,6 +61,9 @@ rts_S_SRCS += rts/StgCRunAsm.S endif # select adjustor implementation. This much match the logic in rts.cabal.in. +ifneq "$(CLEANING)" "YES" +# N.B. we don't source config.mk when CLEANING=YES so none of the below +# variables will be set. See #20166. ifeq "$(UseLibffiForAdjustors)" "YES" rts_C_SRCS += rts/adjustor/LibffiAdjustor.c else @@ -81,6 +84,7 @@ endif endif endif endif +endif ifeq "$(GhcUnregisterised)" "YES" GENAPPLY_OPTS = -u |