|
@@ -38,8 +38,10 @@ CFLAGS += -pipe
|
|
|
# actually it makes the kernel smaller too.
|
|
|
CFLAGS += -fno-reorder-blocks
|
|
|
CFLAGS += -Wno-sign-compare
|
|
|
-ifneq ($(CONFIG_DEBUG_INFO),y)
|
|
|
+ifneq ($(CONFIG_UNWIND_INFO),y)
|
|
|
CFLAGS += -fno-asynchronous-unwind-tables
|
|
|
+endif
|
|
|
+ifneq ($(CONFIG_DEBUG_INFO),y)
|
|
|
# -fweb shrinks the kernel a bit, but the difference is very small
|
|
|
# it also messes up debugging, so don't use it for now.
|
|
|
#CFLAGS += $(call cc-option,-fweb)
|