diff options
Diffstat (limited to 'package/open-iscsi/patches/patch-usr_Makefile')
-rw-r--r-- | package/open-iscsi/patches/patch-usr_Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/open-iscsi/patches/patch-usr_Makefile b/package/open-iscsi/patches/patch-usr_Makefile new file mode 100644 index 000000000..af7106fd8 --- /dev/null +++ b/package/open-iscsi/patches/patch-usr_Makefile @@ -0,0 +1,19 @@ +--- open-iscsi-2.0-871.orig/usr/Makefile 2009-07-11 05:55:58.000000000 +0200 ++++ open-iscsi-2.0-871/usr/Makefile 2010-11-22 23:23:09.000000000 +0100 +@@ -1,6 +1,6 @@ + # This Makefile will work only with GNU make. + +-OSNAME=$(shell uname -s) ++OSNAME=Linux + + # allow users to override these + # eg to compile for a kernel that you aren't currently running +@@ -55,7 +55,7 @@ iscsiadm: $(COMMON_SRCS) $(FW_BOOT_SRCS) + + iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \ + iscsistart.o statics.o +- $(CC) $(CFLAGS) -static $^ -o $@ ++ $(CC) $(CFLAGS) $^ -o $@ + clean: + rm -f *.o $(PROGRAMS) .depend $(LIBSYS) + |