aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-iscsi/ldflags.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-25 10:13:56 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-25 10:23:02 +0000
commit0acd32966d0410e030e316b0a2225712a40d2708 (patch)
treef9ae772849579bbe636dd56f86dba77779f79083 /main/open-iscsi/ldflags.patch
parentf876db89859e4ef206cc6adfb6bca2faea90bc39 (diff)
downloadaports-0acd32966d0410e030e316b0a2225712a40d2708.tar.bz2
aports-0acd32966d0410e030e316b0a2225712a40d2708.tar.xz
main/open-iscsi: upgrade to 2.0.874
Diffstat (limited to 'main/open-iscsi/ldflags.patch')
-rw-r--r--main/open-iscsi/ldflags.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/open-iscsi/ldflags.patch b/main/open-iscsi/ldflags.patch
new file mode 100644
index 0000000000..b46771c2a1
--- /dev/null
+++ b/main/open-iscsi/ldflags.patch
@@ -0,0 +1,38 @@
+diff --git a/usr/Makefile b/usr/Makefile
+index c1866b6..b73e792 100644
+--- a/usr/Makefile
++++ b/usr/Makefile
+@@ -54,14 +54,14 @@ all: $(PROGRAMS)
+
+ iscsid: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \
+ iscsid.o session_mgmt.o discoveryd.o mntcheck.o
+- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto -lrt -lmount
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto -lrt -lmount $(LDFLAGS)
+
+ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o mntcheck.o
+- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto -lmount
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto -lmount $(LDFLAGS)
+
+ iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
+ iscsistart.o statics.o
+- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lrt
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lrt $(LDFLAGS)
+ clean:
+ rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
+
+diff --git a/utils/Makefile b/utils/Makefile
+index f65f1e7..472a1b4 100644
+--- a/utils/Makefile
++++ b/utils/Makefile
+@@ -7,7 +7,7 @@ PROGRAMS = iscsi-iname
+ all: $(PROGRAMS)
+
+ iscsi-iname: md5.o iscsi-iname.o
+- $(CC) $(CFLAGS) $(LDFLAGS) $^ $(DBM_LIB) -o $@
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(DBM_LIB) -o $@ $(LDFLAGS)
+
+ clean:
+ rm -f *.o $(PROGRAMS) .depend
+--
+2.13.0
+