Blame SOURCES/bz1624110-2-fence_virt-fix-coredump.patch

0fcd25
diff -uNr a/client/Makefile.in b/client/Makefile.in
0fcd25
--- a/client/Makefile.in	2019-04-10 11:06:55.428378274 +0200
0fcd25
+++ b/client/Makefile.in	2019-04-10 13:02:54.734002880 +0200
0fcd25
@@ -40,16 +40,7 @@
0fcd25
 	ln -snf $^ $@
0fcd25
 
0fcd25
 fence_virt: ${fence_virt_SOURCES:.c=.o}
0fcd25
-	$(CC) $(CFLAGS) -o $@ $^ -shared $(LIBS) -L../common -lfence_virt
0fcd25
-
0fcd25
-mcast.o: mcast.c
0fcd25
-	$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
0fcd25
-
0fcd25
-options.o: options.c
0fcd25
-	$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
0fcd25
-
0fcd25
-serial.o: serial.c
0fcd25
-	$(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
0fcd25
+	$(CC) $(CFLAGS) -pie -o $@ $^ $(LIBS) -L../common -lfence_virt
0fcd25
 
0fcd25
 %.o: %.c
0fcd25
 	$(CC) $(CFLAGS) -c -o $@ $^ $(INCLUDES)