Add workaround for hxcpp compiler cache bug

See: https://github.com/HaxeFoundation/hxcpp/issues/1180
This commit is contained in:
Tobiasz Laskowski
2025-01-23 00:17:39 +00:00
committed by Josh Tynjala
parent ade8ca77a0
commit 99ca58d06f
4 changed files with 6 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ $(HAXE_BUILDS): build-haxe-%:
-options Options.txt $(DEBUG)
touch ../Classes/Main.mm
cd build/$(CONFIG)$(SUFFIX_$*); ::HAXELIB_PATH:: export HXCPP_NO_COLOR=1; \
haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR)/BuildHxcppMbedtls.xml \
::CPP_CACHE_WORKAROUND:: haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR)/BuildHxcppMbedtls.xml \
-Ddestination=$(CURDIR)/../lib/$*$(LIB_MBEDTLS_DEST) \
-options $(CURDIR)/build/$(CONFIG)$(SUFFIX_$*)/Options.txt $(DEBUG)

View File

@@ -53,7 +53,7 @@ $(HAXE_BUILDS): build-haxe-%:
-options Options.txt $(DEBUG)
touch ../Classes/Main.mm
cd build/$(CONFIG)$(SUFFIX_$*); ::HAXELIB_PATH:: export HXCPP_NO_COLOR=1; \
haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR)/BuildHxcppMbedtls.xml \
::CPP_CACHE_WORKAROUND:: haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR)/BuildHxcppMbedtls.xml \
-Ddestination=$(CURDIR)/../lib/$*$(LIB_MBEDTLS_DEST) \
-options $(CURDIR)/build/$(CONFIG)$(SUFFIX_$*)/Options.txt $(DEBUG)