From 8c61e470c867d418c172a857f03ee574738bc303 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 29 Jan 2011 11:35:11 +0000 Subject: [PATCH] Removed sg_copy() test again because it does not work reliably on all Linux distributions. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3240 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scst/src/Makefile b/scst/src/Makefile index fe3c30a52..071b69735 100644 --- a/scst/src/Makefile +++ b/scst/src/Makefile @@ -121,10 +121,6 @@ INSTALL_DIR_H := $(DESTDIR)/usr/local/include/scst enable-Wextra = $(shell uname_r="$$(uname -r)"; if [ "$${uname_r%.el5}" = "$${uname_r}" ]; then echo "$(1)"; fi) -ifneq ($(shell grep -w sg_copy $(srctree)/include/linux/scatterlist.h),) -EXTRA_CFLAGS += -DHAVE_SG_COPY -endif - EXTRA_CFLAGS += -I$(SCST_INC_DIR) $(call enable-Wextra,-Wextra \ -Wno-unused-parameter -Wno-missing-field-initializers)