diff options
author | Tony Theodore <tonyt@logyst.com> | 2019-04-21 07:07:37 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2019-04-21 07:07:37 (GMT) |
commit | e183a12d70055e66ba71352a68286af3fe45846b (patch) | |
tree | bdcab44549935c0d3d71015294cfa36d791d52ab /src/nsis.mk | |
parent | 732c0ada9f0d962f380428a395c93bb0a29821da (diff) | |
download | mxe-e183a12d70055e66ba71352a68286af3fe45846b.zip mxe-e183a12d70055e66ba71352a68286af3fe45846b.tar.gz mxe-e183a12d70055e66ba71352a68286af3fe45846b.tar.bz2 |
nsis: disable ccache
Diffstat (limited to 'src/nsis.mk')
-rw-r--r-- | src/nsis.mk | 4 |
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` \ |