File 0027-Compile-tools-with-OPTFLAGS.patch of Package lio-utils

From f49590e68397b011842232dcdd71497a5bd44f12 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Thu, 17 Apr 2014 12:06:35 +0200
Subject: Compile tools with OPTFLAGS

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 tools/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Makefile b/tools/Makefile
index 79ed3cd..3ff026a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -6,7 +6,7 @@ ISCSI_NAME_OBJS      = $(ISCSI_NAME_SRCS:.c=.o)
 all:: $(ISCSI_NAME) 
 
 $(ISCSI_NAME): $(ISCSI_NAME_OBJS)
-	$(CC) -o $@ $(CFLAGS) $(ISCSI_NAME_OBJS) 
+	$(CC) -o $@ $(CFLAGS) $(OPTFLAGS) $(ISCSI_NAME_OBJS) 
 
 clean:
 	rm -f $(ISCSI_NAME_OBJS) $(ISCSI_NAME) 
-- 
1.8.1.4