summaryrefslogtreecommitdiffstats
path: root/src/nsis.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2019-04-21 07:07:37 (GMT)
committerTony Theodore <tonyt@logyst.com>2019-04-21 07:07:37 (GMT)
commite183a12d70055e66ba71352a68286af3fe45846b (patch)
treebdcab44549935c0d3d71015294cfa36d791d52ab /src/nsis.mk
parent732c0ada9f0d962f380428a395c93bb0a29821da (diff)
downloadmxe-e183a12d70055e66ba71352a68286af3fe45846b.zip
mxe-e183a12d70055e66ba71352a68286af3fe45846b.tar.gz
mxe-e183a12d70055e66ba71352a68286af3fe45846b.tar.bz2
nsis: disable ccache
Diffstat (limited to 'src/nsis.mk')
-rw-r--r--src/nsis.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nsis.mk b/src/nsis.mk
index 99a5e37..0d1c0ea 100644
--- a/src/nsis.mk
+++ b/src/nsis.mk
@@ -25,7 +25,9 @@ define $(PKG)_BUILD
$(if $(findstring x86_64-w64-mingw32,$(TARGET)),\
$(SED) -i 's/pei-i386/pei-x86-64/' '$(1)/SCons/Config/linker_script' && \
$(SED) -i 's/m_target_type=TARGET_X86ANSI/m_target_type=TARGET_AMD64/' '$(SOURCE_DIR)/Source/build.cpp')
- cd '$(SOURCE_DIR)' && $(PYTHON2) '$(BUILD_DIR).scons/scons.py' \
+
+ # scons does various PATH manipulations that don't play well with ccache
+ cd '$(SOURCE_DIR)' && PATH='$(PREFIX)/bin:$(PATH)' $(PYTHON2) '$(BUILD_DIR).scons/scons.py' \
XGCC_W32_PREFIX='$(TARGET)-' \
PREFIX='$(PREFIX)/$(TARGET)' \
`[ -d /usr/local/include ] && echo APPEND_CPPPATH=/usr/local/include` \