File tree 4 files changed +6
-2
lines changed
ios/template/{{app.file}}/haxe
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ $(HAXE_BUILDS): build-haxe-%:
59
59
-options Options.txt $(DEBUG )
60
60
touch ../Classes/Main.mm
61
61
cd build/$(CONFIG )$(SUFFIX_$* ) ; ::HAXELIB_PATH:: export HXCPP_NO_COLOR=1; \
62
- haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR ) /BuildHxcppMbedtls.xml \
62
+ ::CPP_CACHE_WORKAROUND:: haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR ) /BuildHxcppMbedtls.xml \
63
63
-Ddestination=$(CURDIR ) /../lib/$* $(LIB_MBEDTLS_DEST ) \
64
64
-options $(CURDIR ) /build/$(CONFIG )$(SUFFIX_$* ) /Options.txt $(DEBUG )
65
65
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ $(HAXE_BUILDS): build-haxe-%:
53
53
-options Options.txt $(DEBUG )
54
54
touch ../Classes/Main.mm
55
55
cd build/$(CONFIG )$(SUFFIX_$* ) ; ::HAXELIB_PATH:: export HXCPP_NO_COLOR=1; \
56
- haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR ) /BuildHxcppMbedtls.xml \
56
+ ::CPP_CACHE_WORKAROUND:: haxelib run ::CPP_BUILD_LIBRARY:: $(CURDIR ) /BuildHxcppMbedtls.xml \
57
57
-Ddestination=$(CURDIR ) /../lib/$* $(LIB_MBEDTLS_DEST ) \
58
58
-options $(CURDIR ) /build/$(CONFIG )$(SUFFIX_$* ) /Options.txt $(DEBUG )
59
59
Original file line number Diff line number Diff line change @@ -331,6 +331,8 @@ class IOSPlatform extends PlatformTarget
331
331
context. IOS_COMPILER = project .config .getString (" ios.compiler" , " clang" );
332
332
context. CPP_BUILD_LIBRARY = project .config .getString (" cpp.buildLibrary" , " hxcpp" );
333
333
334
+ context. CPP_CACHE_WORKAROUND = " unset HXCPP_COMPILE_CACHE;" ;
335
+
334
336
context. IOS_LINKER_FLAGS = [" -stdlib=libc++" ].concat (project .config .getArrayString (" ios.linker-flags" ));
335
337
context. IOS_NON_EXEMPT_ENCRYPTION = project .config .getBool (" ios.non-exempt-encryption" , false );
336
338
Original file line number Diff line number Diff line change @@ -262,6 +262,8 @@ class TVOSPlatform extends PlatformTarget
262
262
context. IOS_COMPILER = project .config .getString (" tvos.compiler" , " clang" );
263
263
context. CPP_BUILD_LIBRARY = project .config .getString (" cpp.buildLibrary" , " hxcpp" );
264
264
265
+ context. CPP_CACHE_WORKAROUND = " unset HXCPP_COMPILE_CACHE;" ;
266
+
265
267
context. IOS_LINKER_FLAGS = [" -stdlib=libc++" ].concat (project .config .getArrayString (" tvos.linker-flags" ));
266
268
context. IOS_NON_EXEMPT_ENCRYPTION = project .config .getBool (" tvos.non-exempt-encryption" , true );
267
269
You can’t perform that action at this time.
0 commit comments