2020-12-30 07:43:54 +08:00
|
|
|
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
2021-06-11 02:44:46 +08:00
|
|
|
index 81d30a16c..d4f19cd97 100644
|
2020-12-30 07:43:54 +08:00
|
|
|
--- a/build/make/configure.sh
|
|
|
|
+++ b/build/make/configure.sh
|
2021-06-11 02:44:46 +08:00
|
|
|
@@ -1370,12 +1370,14 @@ EOF
|
2020-12-30 07:43:54 +08:00
|
|
|
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*)
|