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

12 lines
353 B
Diff
Raw Normal View History

2022-05-17 10:31:56 +00:00
--- a/scripts/utils.mk
+++ b/scripts/utils.mk
@@ -56,7 +56,7 @@
do_compile_shared_library = \
($(print_shared_lib_compile) \
- $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LIBS))
+ $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LIBS))
do_compile_plugin_obj = \
($(print_plugin_obj_compile) \