mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 16:49:06 +08:00
22 lines
803 B
Diff
22 lines
803 B
Diff
|
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
||
|
index 206b54f..49cd13e 100644
|
||
|
--- a/build/make/configure.sh
|
||
|
+++ b/build/make/configure.sh
|
||
|
@@ -1361,12 +1361,14 @@ EOF
|
||
|
case ${tgt_os} in
|
||
|
win32)
|
||
|
add_asflags -f win32
|
||
|
- enabled debug && add_asflags -g cv8
|
||
|
+ enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8
|
||
|
+ enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8
|
||
|
EXE_SFX=.exe
|
||
|
;;
|
||
|
win64)
|
||
|
add_asflags -f win64
|
||
|
- enabled debug && add_asflags -g cv8
|
||
|
+ enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8
|
||
|
+ enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8
|
||
|
EXE_SFX=.exe
|
||
|
;;
|
||
|
linux*|solaris*|android*)
|