[nasm:nasm-2.15.xx] test/Makefile: the debug option for -f dbg is -gdebug

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Mon Jul 6 10:21:07 PDT 2020


Commit-ID:  ecb9b773f2280c636fc37fd03ea1f622915d09ce
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=ecb9b773f2280c636fc37fd03ea1f622915d09ce
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Mon, 6 Jul 2020 10:13:14 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Mon, 6 Jul 2020 10:19:38 -0700

test/Makefile: the debug option for -f dbg is -gdebug

If a format is specified explicitly for the debug format, it needs to
be "debug", not "dbg". Lovely inconsistency.

Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>


---
 test/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/Makefile b/test/Makefile
index e09e1148..00d43662 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -57,7 +57,7 @@ $(NASM):
 	$(NASM) $(NASMOPT) -f macho64 -gdwarf -o $@ -MD $@.dep -l $@.lst $<
 
 %.dbg: %.asm $(NASMDEP)
-	$(NASM) $(NASMOPT) -f dbg -gdbg -o $@ -MD $@.dep -l $@.lst $<
+	$(NASM) $(NASMOPT) -f dbg -gdebug -o $@ -MD $@.dep -l $@.lst $<
 
 %.asm: %.pl
 	$(PERL) $< > $@


More information about the Nasm-commits mailing list