summaryrefslogtreecommitdiff
path: root/network/iscsitarget/iscsi-target-1.4.19-add-CFLAGS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/iscsitarget/iscsi-target-1.4.19-add-CFLAGS.patch')
-rw-r--r--network/iscsitarget/iscsi-target-1.4.19-add-CFLAGS.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/network/iscsitarget/iscsi-target-1.4.19-add-CFLAGS.patch b/network/iscsitarget/iscsi-target-1.4.19-add-CFLAGS.patch
new file mode 100644
index 0000000000..79ec4b48f0
--- /dev/null
+++ b/network/iscsitarget/iscsi-target-1.4.19-add-CFLAGS.patch
@@ -0,0 +1,8 @@
+--- iscsitarget-1.4.19-source/usr/Makefile 2008-06-19 00:10:19.000000000 +0100
++++ iscsitarget-1.4.19/usr/Makefile 2010-01-09 17:32:28.000000000 +0000
+@@ -1,4 +1,4 @@
+-CFLAGS += -O2 -fno-inline -Wall -Wstrict-prototypes -g -I../include
++CFLAGS += @ARCH@ -fno-inline -Wall -Wstrict-prototypes -g -I../include
+ CFLAGS += -D_GNU_SOURCE # required for glibc >= 2.8
+ PROGRAMS = ietd ietadm
+ LIBS = -lcrypto