12 lines
537 B
Diff
12 lines
537 B
Diff
--- a/kafel/src/Makefile 2023-07-08 16:40:45.058218240 +0200
|
|
+++ - 2023-07-08 16:54:04.459715051 +0200
|
|
@@ -56,7 +56,7 @@
|
|
$(CC) $(CFLAGS) -Wl,-soname,$@.${VERSION} -shared $^ -o $@
|
|
|
|
${STATIC_TARGET}: ${OBJECTS}
|
|
- $(LD) $(LDFLAGS) -r ${OBJECTS} -o libkafel_r.o
|
|
+ $(LD) -r ${OBJECTS} -o libkafel_r.o
|
|
# Fix x86 PIC symbols
|
|
$(OBJDUMP) -t libkafel_r.o | grep '.hidden' | grep -v 'get_pc_thunk' | sed -e 's/^.*\.hidden //' > libkafel.localize_symbols
|
|
$(OBJCOPY) -w --localize-symbols=libkafel.localize_symbols libkafel_r.o libkafel.o
|