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

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