- reinstate commented out _FORTIFY_SOURCE that was somehow dropped by Denys?
This commit is contained in:
parent
ec73d30322
commit
e6ce824edd
@ -44,12 +44,13 @@ CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1
|
|||||||
|
|
||||||
# FIXME: These warnings are at least partially to be concerned about and should
|
# FIXME: These warnings are at least partially to be concerned about and should
|
||||||
# be fixed..
|
# be fixed..
|
||||||
#CFLAGS+=$(call cc-option,-Wconversion,)
|
#CFLAGS += $(call cc-option,-Wconversion,)
|
||||||
|
|
||||||
ifneq ($(CONFIG_DEBUG),y)
|
ifneq ($(CONFIG_DEBUG),y)
|
||||||
CFLAGS += $(call cc-option,-Os,)
|
CFLAGS += $(call cc-option,-Os,)
|
||||||
else
|
else
|
||||||
CFLAGS += $(call cc-option,-g,)
|
CFLAGS += $(call cc-option,-g,)
|
||||||
|
#CFLAGS += "-D_FORTIFY_SOURCE=2"
|
||||||
ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
|
ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
|
||||||
CFLAGS += $(call cc-option,-O0,)
|
CFLAGS += $(call cc-option,-O0,)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user