mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user