aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.flags3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 0ffc05c35..e31480204 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -44,12 +44,13 @@ CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1
44 44
45# FIXME: These warnings are at least partially to be concerned about and should 45# FIXME: These warnings are at least partially to be concerned about and should
46# be fixed.. 46# be fixed..
47#CFLAGS+=$(call cc-option,-Wconversion,) 47#CFLAGS += $(call cc-option,-Wconversion,)
48 48
49ifneq ($(CONFIG_DEBUG),y) 49ifneq ($(CONFIG_DEBUG),y)
50CFLAGS += $(call cc-option,-Os,) 50CFLAGS += $(call cc-option,-Os,)
51else 51else
52CFLAGS += $(call cc-option,-g,) 52CFLAGS += $(call cc-option,-g,)
53#CFLAGS += "-D_FORTIFY_SOURCE=2"
53ifeq ($(CONFIG_DEBUG_PESSIMIZE),y) 54ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
54CFLAGS += $(call cc-option,-O0,) 55CFLAGS += $(call cc-option,-O0,)
55else 56else