diff --git a/v8_compile.bat b/v8_compile.bat index 9fa5341..533e536 100644 --- a/v8_compile.bat +++ b/v8_compile.bat @@ -17,10 +17,10 @@ if "%os%"=="" ( set "os=Windows" ) -set "gnArgs=" - setlocal EnableDelayedExpansion +set "gnArgs=" + for /F "usebackq delims=" %%i in ("%dir%\args\%os%.gn") do ( set "line=%%i" @@ -30,7 +30,7 @@ for /F "usebackq delims=" %%i in ("%dir%\args\%os%.gn") do ( ) ) -endlocal +endlocal & set "gnArgs=%gnArgs%" set "ccWrapper="