Commit eed41533

eed41533fff3Merged

bamchoh <[email protected]> · 7 months ago · 1 file · ~1 modified

Description

fix(batch): the build failed if there was space in the directory path, so this has been fixed to allow it to build.

Details

Commit
eed41533fff3
Parent
94cc9f58c5f2

spinel.batmodifiedView file

@@ -121,8 +121,8 @@
121121 )
122122
123123 set "SP_RT_LIB=%DIR%\lib\libspinel_rt.a"
124-set "INCLUDE_FLAGS=-I%DIR%\lib -I%DIR%\lib\regexp"
125-if exist "%SP_RT_LIB%" set "EXTRA_FLAGS=%EXTRA_FLAGS% %SP_RT_LIB%"
124+set "INCLUDE_FLAGS=-I"%DIR%\lib" -I"%DIR%\lib\regexp""
125+if exist "%SP_RT_LIB%" set "EXTRA_FLAGS=%EXTRA_FLAGS% "%SP_RT_LIB%""
126126
127127 %CC_CMD% -O%OPT_LEVEL% -Wno-all -ffunction-sections -fdata-sections %INCLUDE_FLAGS% "%C_FILE%" -lm %EXTRA_FLAGS% -Wl,--gc-sections -Wl,--stack,67108864 -o "%BIN_FILE%"
128128 set "EC=%ERRORLEVEL%"