Fix so that debugger will load and Assembler code will debug.

This commit is contained in:
Peter Hyman 2020-11-14 16:30:28 -06:00
parent 8af8ad17e4
commit f5c19dbde8
2 changed files with 5 additions and 5 deletions

View file

@ -133,9 +133,9 @@ if test x"$ASM" = x"yes"; then
ASM_OPT="-I../ASM/x86/" ASM_OPT="-I../ASM/x86/"
case $host in case $host in
i?86-*) i?86-*)
ASM_OPT="$ASM_OPT -f elf" ;; ASM_OPT="$ASM_OPT -g -f elf" ;;
x86_64-*) x86_64-*)
ASM_OPT="$ASM_OPT -Dx64 -f elf64" ;; ASM_OPT="$ASM_OPT -Dx64 -g -f elf64" ;;
*) ASM_OPT= ;; *) ASM_OPT= ;;
esac esac
else else

View file

@ -12,8 +12,8 @@ ASM_7z =
C_S = C_S =
if USE_ASM if USE_ASM
ASM_7z += 7zCrcOpt_asm ASM_7z += 7zCrcOpt_asm
ASM_S += @top_srcdir@/lzma/ASM/x86/$(ASM_7z).asm ASM_S += @abs_top_srcdir@/lzma/ASM/x86/$(ASM_7z).asm
ASM_H += @top_srcdir@/lzma/ASM/x86/7zAsm.asm ASM_H += @abs_top_srcdir@/lzma/ASM/x86/7zAsm.asm
C_S += 7zCrcT8.c C_S += 7zCrcT8.c
else else
C_S += 7zCrc.c C_S += 7zCrc.c
@ -24,7 +24,7 @@ noinst_LTLIBRARIES = liblzma.la
# to prevent an error even if -j## is used. # to prevent an error even if -j## is used.
liblzma_la_SOURCES = \ liblzma_la_SOURCES = \
$(C_S) \ $(C_S) \
7z.Crc.h \ 7zCrc.h \
LzmaDec.h \ LzmaDec.h \
LzmaEnc.h \ LzmaEnc.h \
LzFind.c \ LzFind.c \