iscsi-initiator-utils/iscsistart-static.patch
Jeremy Katz 3b954e8cf2 - ensure that we respect %{optflags}
- cleaned up initscript to make use of standard functions, return right
    values and start by default
- build iscsistart as a static binary for use in initrds
2006-06-21 03:56:34 +00:00

12 lines
382 B
Diff

--- open-iscsi-6.0.5.595/usr/Makefile.static 2006-06-20 23:21:15.000000000 -0400
+++ open-iscsi-6.0.5.595/usr/Makefile 2006-06-20 23:22:59.000000000 -0400
@@ -51,7 +51,7 @@
$(CC) $(CFLAGS) $^ $(DBM_LIB) -o $@
iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) iscsistart.o
- $(CC) $(CFLAGS) $^ -o $@
+ $(CC) -static $(CFLAGS) $^ -o $@
clean:
rm -f *.o $(PROGRAMS)