Record debug info for assmebly code
This commit is contained in:
parent
29d8c2eebb
commit
77a9aa55cd
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -39,7 +39,7 @@ OBJCOPY = $(TOOLPREFIX)objcopy
|
||||||
OBJDUMP = $(TOOLPREFIX)objdump
|
OBJDUMP = $(TOOLPREFIX)objdump
|
||||||
CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32
|
CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -O2 -Wall -MD -ggdb -m32
|
||||||
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
|
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
|
||||||
ASFLAGS = -m32
|
ASFLAGS = -m32 -gdwarf-2
|
||||||
# FreeBSD ld wants ``elf_i386_fbsd''
|
# FreeBSD ld wants ``elf_i386_fbsd''
|
||||||
LDFLAGS += -m $(shell $(LD) -V | grep elf_i386 2>/dev/null)
|
LDFLAGS += -m $(shell $(LD) -V | grep elf_i386 2>/dev/null)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue