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
This commit is contained in:
Bart Van Assche
2011-01-29 11:35:11 +00:00
parent 1a3b890e8f
commit 8c61e470c8
-4
View File
@@ -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)