libtracefs/SOURCES/libtracefs-1.0.2-harden-lin...

12 lines
375 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) \
2023-05-09 05:37:12 +00:00
- $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LDFLAGS) $(LIBS))
+ $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(GCCLDFLAGS) $(LDFLAGS) $(LIBS))
2022-05-17 10:31:56 +00:00
do_compile_plugin_obj = \
($(print_plugin_obj_compile) \