1
0

patch-usr_Makefile 632 B

12345678910111213141516171819
  1. --- open-iscsi-2.0-871.orig/usr/Makefile 2009-07-11 05:55:58.000000000 +0200
  2. +++ open-iscsi-2.0-871/usr/Makefile 2010-11-22 23:23:09.000000000 +0100
  3. @@ -1,6 +1,6 @@
  4. # This Makefile will work only with GNU make.
  5. -OSNAME=$(shell uname -s)
  6. +OSNAME=Linux
  7. # allow users to override these
  8. # eg to compile for a kernel that you aren't currently running
  9. @@ -55,7 +55,7 @@ iscsiadm: $(COMMON_SRCS) $(FW_BOOT_SRCS)
  10. iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
  11. iscsistart.o statics.o
  12. - $(CC) $(CFLAGS) -static $^ -o $@
  13. + $(CC) $(CFLAGS) $^ -o $@
  14. clean:
  15. rm -f *.o $(PROGRAMS) .depend $(LIBSYS)