From d9c1ffa29a313958061cb7dfdf685d8beffc38ea Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 24 Feb 2015 14:10:54 +0000 Subject: [PATCH] iscsi-scst/usr/Makefile: Fix include path Use the SCST_INC_DIR variable passed by the parent Makefile such that both the in-tree and out-of-tree builds work. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6130 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/usr/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/iscsi-scst/usr/Makefile b/iscsi-scst/usr/Makefile index ae70b9a81..00c8ae2c9 100644 --- a/iscsi-scst/usr/Makefile +++ b/iscsi-scst/usr/Makefile @@ -26,9 +26,6 @@ OBJS_D = $(SRCS_D:.c=.o) SRCS_ADM = iscsi_adm.c param.c OBJS_ADM = $(SRCS_ADM:.c=.o) -SCST_INC_DIR := ../../scst/include -#SCST_INC_DIR := $(PREFIX)/include/scst - CFLAGS += -O2 -fno-inline -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare \ -Wimplicit-function-declaration -Wno-unused-parameter \ -Wno-missing-field-initializers -g -I../include -I$(SCST_INC_DIR)