diff --git a/lib/Makefile b/lib/Makefile index 095601ce371dabd7a7e5b3501c61ac4b6516d91b..34f8a83b2cbd3f9874211842c8fcb5b1677e7f91 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -21,10 +21,6 @@ KCOV_INSTRUMENT_dynamic_debug.o := n ifdef CONFIG_AMD_MEM_ENCRYPT KASAN_SANITIZE_string.o := n -ifdef CONFIG_FUNCTION_TRACER -CFLAGS_REMOVE_string.o = -pg -endif - CFLAGS_string.o := $(call cc-option, -fno-stack-protector) endif