summaryrefslogtreecommitdiffstats
path: root/rules/cross-gcc.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/cross-gcc.make')
-rw-r--r--rules/cross-gcc.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 16834c6..8dc77fd 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -169,8 +169,8 @@ $(STATEDIR)/cross-gcc.install: $(STATEDIR)/cross-gcc.report
$(CROSS_GCC_PKGDIR)$(PTXCONF_PREFIX_CROSS)/bin/$(COMPILER_PREFIX)gcc
@find $(CROSS_GCC_PKGDIR) -name "*.la" -print0 | xargs -0 rm -v -f
-ifneq ($(call remove_quotes,$(PTXCONF_DESTDIR)),)
- sed -i -e 's;$(call remove_quotes,$(PTXCONF_DESTDIR));;' \
+ifneq ($(call remove_quotes,$(PTXDIST_SYSROOT_CROSS)),)
+ sed -i -e 's;$(call remove_quotes,$(PTXDIST_SYSROOT_CROSS));;' \
$(CROSS_GCC_PKGDIR)$(PTXCONF_PREFIX_CROSS)/lib/gcc/$(PTXCONF_GNU_TARGET)/$(CROSS_GCC_VERSION)/install-tools/mkheaders.conf
endif