[gnome-continuous] patches: update iscsi-no-static-build.patch



commit fdcb104f2b1a4da898d492a53107b4a100ec4cc3
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Jan 22 12:13:58 2015 +0100

    patches: update iscsi-no-static-build.patch

 patches/iscsi-no-static-build.patch |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/patches/iscsi-no-static-build.patch b/patches/iscsi-no-static-build.patch
index 956ed9f..cbfe2c7 100644
--- a/patches/iscsi-no-static-build.patch
+++ b/patches/iscsi-no-static-build.patch
@@ -1,4 +1,4 @@
-From 864e0c7d2760c5af4d3bd3470fcb06829d6feb19 Mon Sep 17 00:00:00 2001
+From 3bf2be92f98997a0696e1950e8cf05a33b0dcaee Mon Sep 17 00:00:00 2001
 From: "Owen W. Taylor" <otaylor fishsoup net>
 Date: Sat, 19 Apr 2014 01:48:33 -0400
 Subject: [PATCH] iscsistart: don't build statically
@@ -9,7 +9,7 @@ On a modern system, we'll have shared libc even in an initrd.
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/usr/Makefile b/usr/Makefile
-index 3d8ee22..48c77b3 100644
+index 550fdff..a081be8 100644
 --- a/usr/Makefile
 +++ b/usr/Makefile
 @@ -61,8 +61,8 @@ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o
@@ -17,12 +17,12 @@ index 3d8ee22..48c77b3 100644
  
  iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
 -              iscsistart.o statics.o
--      $(CC) $(CFLAGS) -static $^ -o $@
+-      $(CC) $(CFLAGS) -static $^ -o $@ -lrt
 +              iscsistart.o
-+      $(CC) $(CFLAGS) $^ -o $@
++      $(CC) $(CFLAGS) $^ -o $@  -lrt
  clean:
        rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
  
 -- 
-1.9.0
+1.8.3.1
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]