Blame SOURCES/libtracefs-1.0.2-harden-linking.patch

df10b0
--- a/scripts/utils.mk
df10b0
+++ b/scripts/utils.mk
df10b0
@@ -56,7 +56,7 @@
df10b0
 
df10b0
 do_compile_shared_library =			\
df10b0
 	($(print_shared_lib_compile)		\
df10b0
-	$(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LDFLAGS) $(LIBS))
df10b0
+	$(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LDFLAGS) $(LIBS))
df10b0
 
df10b0
 do_compile_plugin_obj =				\
df10b0
 	($(print_plugin_obj_compile)		\