aboutsummaryrefslogtreecommitdiff
path: root/etc/environments/default-clang.bat
diff options
context:
space:
mode:
Diffstat (limited to 'etc/environments/default-clang.bat')
-rw-r--r--etc/environments/default-clang.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/environments/default-clang.bat b/etc/environments/default-clang.bat
index 78109a9..844372c 100644
--- a/etc/environments/default-clang.bat
+++ b/etc/environments/default-clang.bat
@@ -43,15 +43,15 @@ set "VCVARS="
set "MODE="
if "_%1_" == "_x86_64-microsoft-win32-msvc%MSVC_VER%_" (
set "VCVARS=%VCVARS64%"
- rem set "MODE=config.cc.coptions+=-m64"
+ rem set "MODE=-m64"
) else (
if "_%1_" == "_i686-microsoft-win32-msvc%MSVC_VER%_" (
set "VCVARS=%VCVARS32%"
- set "MODE=config.cc.coptions+=-m32"
+ set "MODE=-m32"
) else (
if "_%1_" == "_i386-microsoft-win32-msvc%MSVC_VER%_" (
set "VCVARS=%VCVARS32%"
- set "MODE=config.cc.coptions+=-m32"
+ set "MODE=-m32"
) else (
echo error: unknown target %1
goto error
@@ -66,7 +66,7 @@ if not "_%MSVC%_" == "__" (
)
)
-%2 %3 %4 %5 %6 %7 %8 %9 cc config.c=%C% config.cxx=%CXX% %MODE%
+%2 %3 %4 %5 %6 %7 %8 %9 cc "config.c=%C% %MODE%" "config.cxx=%CXX% %MODE%"
if errorlevel 1 goto error
goto end