mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 19:39:27 +00:00
temporary change, compiling C, C++ and ASM without -g
This commit is contained in:
parent
48913153c3
commit
e9730cbbfd
@ -81,7 +81,7 @@ CSTANDARD = -std=gnu99
|
|||||||
# -Wall...: warning level
|
# -Wall...: warning level
|
||||||
# -Wa,...: tell GCC to pass this to the assembler.
|
# -Wa,...: tell GCC to pass this to the assembler.
|
||||||
# -adhlns...: create assembler listing
|
# -adhlns...: create assembler listing
|
||||||
CFLAGS += -g$(DEBUG)
|
#CFLAGS += -g$(DEBUG)
|
||||||
CFLAGS += $(CDEFS)
|
CFLAGS += $(CDEFS)
|
||||||
CFLAGS += -O$(OPT)
|
CFLAGS += -O$(OPT)
|
||||||
# add color
|
# add color
|
||||||
@ -111,7 +111,7 @@ CFLAGS += $(CSTANDARD)
|
|||||||
# -Wall...: warning level
|
# -Wall...: warning level
|
||||||
# -Wa,...: tell GCC to pass this to the assembler.
|
# -Wa,...: tell GCC to pass this to the assembler.
|
||||||
# -adhlns...: create assembler listing
|
# -adhlns...: create assembler listing
|
||||||
CPPFLAGS += -g$(DEBUG)
|
#CPPFLAGS += -g$(DEBUG)
|
||||||
CPPFLAGS += $(CPPDEFS)
|
CPPFLAGS += $(CPPDEFS)
|
||||||
CPPFLAGS += -O$(OPT)
|
CPPFLAGS += -O$(OPT)
|
||||||
# to supress "warning: only initialized variables can be placed into program memory area"
|
# to supress "warning: only initialized variables can be placed into program memory area"
|
||||||
@ -139,7 +139,8 @@ CPPFLAGS += -Wa,-adhlns=$(@:%.o=%.lst)
|
|||||||
# -listing-cont-lines: Sets the maximum number of continuation lines of hex
|
# -listing-cont-lines: Sets the maximum number of continuation lines of hex
|
||||||
# dump that will be displayed for a given single line of source input.
|
# dump that will be displayed for a given single line of source input.
|
||||||
ASFLAGS += $(ADEFS)
|
ASFLAGS += $(ADEFS)
|
||||||
ASFLAGS += -Wa,-adhlns=$(@:%.o=%.lst),-gstabs,--listing-cont-lines=100
|
#ASFLAGS += -Wa,-adhlns=$(@:%.o=%.lst),-gstabs,--listing-cont-lines=100
|
||||||
|
ASFLAGS += -Wa,-adhlns=$(@:%.o=%.lst),--listing-cont-lines=100
|
||||||
|
|
||||||
#---------------- Library Options ----------------
|
#---------------- Library Options ----------------
|
||||||
# Minimalistic printf version
|
# Minimalistic printf version
|
||||||
|
Loading…
Reference in New Issue
Block a user