diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-dependencies.mk | 2 | ||||
-rw-r--r-- | rules/build-prog.mk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk index 7b66dcd266..7bbb8c5f36 100644 --- a/rules/build-dependencies.mk +++ b/rules/build-dependencies.mk @@ -141,7 +141,7 @@ define addCFileDeps $(foreach w,$5,sed -e 's|\\|/|g' -e 's| /$$| \\|' -e "1s|\.o|\.$($w_osuf)|" -e "1s|^|$(dir $4)|" -e "1s|$1/|$1/$2/build/|" -e "1s|$2/build/$2/build|$2/build|g" -e "s|$(TOP)/||g$(CASE_INSENSITIVE_SED)" $3.bit >> $3.tmp &&) true endef -ifeq "$(Windows)" "YES" +ifeq "$(Windows_Host)" "YES" CASE_INSENSITIVE_SED = i else CASE_INSENSITIVE_SED = diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 3cea0e4839..7fbe7897cb 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -54,7 +54,7 @@ ifeq "$$($1_USES_CABAL)" "YES" $1_$2_USES_CABAL = YES endif -ifeq "$$(Windows)" "YES" +ifeq "$$(Windows_Host)" "YES" $1_$2_WANT_INPLACE_WRAPPER = NO else ifneq "$$($1_$2_INSTALL_INPLACE)" "YES" $1_$2_WANT_INPLACE_WRAPPER = NO @@ -66,7 +66,7 @@ else $1_$2_WANT_INPLACE_WRAPPER = NO endif -ifeq "$$(Windows)" "YES" +ifeq "$$(Windows_Host)" "YES" $1_$2_WANT_INSTALLED_WRAPPER = NO else ifneq "$$($1_$2_INSTALL)" "YES" $1_$2_WANT_INSTALLED_WRAPPER = NO |