changed stabs to dwarf-2 for debugging.
This commit is contained in:
parent
83a2cad604
commit
2e2eb8d387
@ -15,13 +15,13 @@ COMMON += -DF_CPU=8000000UL
|
|||||||
|
|
||||||
## Compile options common for all C compilation units.
|
## Compile options common for all C compilation units.
|
||||||
CFLAGS = $(COMMON) $(CEXTRA)
|
CFLAGS = $(COMMON) $(CEXTRA)
|
||||||
CFLAGS += -D AVRGCC -Wall -gstabs -Os -fsigned-char
|
CFLAGS += -D AVRGCC -Wall -gdwarf-2 -Os -fsigned-char
|
||||||
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
|
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
|
||||||
CFLAGS += -fshort-enums
|
CFLAGS += -fshort-enums
|
||||||
|
|
||||||
## Assembly specific flags
|
## Assembly specific flags
|
||||||
ASMFLAGS = $(COMMON)
|
ASMFLAGS = $(COMMON)
|
||||||
ASMFLAGS += -x assembler-with-cpp -Wa,-gstabs
|
ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf-2
|
||||||
|
|
||||||
## Linker flags
|
## Linker flags
|
||||||
LDFLAGS = $(COMMON)
|
LDFLAGS = $(COMMON)
|
||||||
|
Loading…
Reference in New Issue
Block a user