kbuild: introduce ccflags-remove-y and asflags-remove-y
[linux-2.6-microblaze.git] / lib / lzo / Makefile
index 2f58faf..9565a55 100644 (file)
@@ -1,4 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
+ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
+
 lzo_compress-objs := lzo1x_compress.o
 lzo_decompress-objs := lzo1x_decompress_safe.o