[x86/Linux] Fix marshalling struct with 64-bit types (#17455)
[platform/upstream/coreclr.git] / build.cmd
index 54962ee..be6b2a7 100644 (file)
--- a/build.cmd
+++ b/build.cmd
@@ -325,7 +325,7 @@ REM ============================================================================
 
 if %__RestoreOptData% EQU 1 if %__BuildTypeRelease% EQU 1 (
     echo %__MsgPrefix%Restoring the OptimizationData Package
-    @call %__ProjectDir%\run.cmd sync -optdata %__UnprocessedBuildArgs%
+    @call %__ProjectDir%\run.cmd build -optdata %__RunArgs% %__UnprocessedBuildArgs%
     if not !errorlevel! == 0 (
         echo %__MsgPrefix%Error: Failed to restore the optimization data package.
         exit /b 1