diff --git a/tests/dotnet/Makefile b/tests/dotnet/Makefile index f87f44591a09..4199c9d8f129 100644 --- a/tests/dotnet/Makefile +++ b/tests/dotnet/Makefile @@ -51,10 +51,10 @@ build-oldnet: $(SYSTEM_MSBUILD) $(XBUILD_VERBOSITY) size-comparison/MySingleView/oldnet/MySingleView.csproj $(COMMON_ARGS) /bl:$@.binlog $(MSBUILD_VERBOSITY) build-dotnet: $(TARGETS) - $(DOTNET6) build size-comparison/MySingleView/dotnet/MySingleView.csproj --runtime ios-arm64 $(COMMON_ARGS) /bl:$@.binlog $(MSBUILD_VERBOSITY) + $(DOTNET6) build size-comparison/MySingleView/dotnet/MySingleView.csproj --runtime ios-arm64 /p:MtouchUseLlvm=true $(COMMON_ARGS) /bl:$@.binlog $(MSBUILD_VERBOSITY) run-dotnet: $(TARGETS) - $(DOTNET6) build -t:Run size-comparison/MySingleView/dotnet/MySingleView.csproj --runtime ios-arm64 $(COMMON_ARGS) + $(DOTNET6) build -t:Run size-comparison/MySingleView/dotnet/MySingleView.csproj --runtime ios-arm64 /p:MtouchUseLlvm=true $(COMMON_ARGS) # this will break the signature, so app won't run anymore. Use it only to compare final size w/legacy # https://github.com/xamarin/xamarin-macios/issues/11445