aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJianchuan Wang <jianchuan.wang@windriver.com>2015-08-26 13:54:57 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-06-26 23:42:21 -0400
commit6444b2149afe7de74c3f8de84cdc1157593b3337 (patch)
tree02f217c669dd494c9260e182ea7c98d8f3665a38
parente6ef841f0dea7696b454069003a39af93dda96ec (diff)
downloadlinux-yocto-v4.15/standard/tiny/arm-versatile-926ejs.tar.gz
linux-yocto-v4.15/standard/tiny/arm-versatile-926ejs.tar.bz2
linux-yocto-v4.15/standard/tiny/arm-versatile-926ejs.zip
Omit to optimize vsprintf.c/kasprintf.cv4.15/standard/tiny/arm-versatile-926ejs
Add "-O0" for vsprintf.c/kasprintf.c Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index d11c48ec8ffd..f242a92eefd3 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -72,9 +72,13 @@ CFLAGS_kobject.o += -DDEBUG
CFLAGS_kobject_uevent.o += -DDEBUG
endif
+
obj-$(CONFIG_DEBUG_INFO_REDUCED) += debug_info.o
CFLAGS_debug_info.o += $(call cc-option, -femit-struct-debug-detailed=any)
+CFLAGS_vsprintf.o += -O0
+CFLAGS_asprintf.o += -O0
+
obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
obj-$(CONFIG_GENERIC_PCI_IOMAP) += pci_iomap.o
obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o