gnu: Ceph: Update to 14.2.5.
[jackhill/guix/guix.git] / gnu / packages / patches / psm-ldflags.patch
CommitLineData
fd23d259
DL
1Add missing flags.
2
3--- psm-3.3/ipath/Makefile~ 1970-01-01 01:00:00.000000000 +0100
4+++ psm-3.3/ipath/Makefile 2017-10-22 15:10:10.269177711 +0100
5@@ -73,7 +73,7 @@
6 ${TARGLIB}.so.${MAJOR}.${MINOR}: ${${TARGLIB}-objs}
7 date +'static __attribute__ ((unused)) char __psc_infinipath_revision[] ="$$""Date: %F %R ${rpm_extra_description}InfiniPath $$";' > _revision.c
8 $(CC) -c $(BASECFLAGS) $(INCLUDES) _revision.c -o _revision.o
9- $(CC) -o $@ -Wl,-soname=${TARGLIB}.so.${MAJOR} -shared \
10+ $(CC) -o $@ -Wl,-soname=${TARGLIB}.so.${MAJOR} $(LDFLAGS) -shared \
11 -Wl,--unique='*fastpath*' \
12 ${${TARGLIB}-objs} _revision.o $(LDFLAGS) $(if $(MIC:0=),$(SCIF_LINK_FLAGS))
13