0002-Fix-nasm-debug-format-flag.patch 782 B

123456789101112131415161718192021
  1. diff --git a/build/make/configure.sh b/build/make/configure.sh
  2. index 81d30a1..325017e 100644
  3. --- a/build/make/configure.sh
  4. +++ b/build/make/configure.sh
  5. @@ -1370,12 +1370,14 @@ EOF
  6. case ${tgt_os} in
  7. win32)
  8. add_asflags -f win32
  9. - enabled debug && add_asflags -g cv8
  10. + enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8
  11. + enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8
  12. EXE_SFX=.exe
  13. ;;
  14. win64)
  15. add_asflags -f win64
  16. - enabled debug && add_asflags -g cv8
  17. + enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8
  18. + enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8
  19. EXE_SFX=.exe
  20. ;;
  21. linux*|solaris*|android*)