OSDN Git Service

kbuild: allow archs to select link dead code/data elimination
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / init / Makefile
index 243f61d..d210b23 100644 (file)
@@ -2,6 +2,8 @@
 # Makefile for the linux kernel.
 #
 
+ccflags-y := -fno-function-sections -fno-data-sections
+
 obj-y                          := main.o version.o mounts.o
 obj-y                          += noinitramfs.o
 obj-$(CONFIG_BLK_DEV_INITRD)   += initramfs.o