mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-30 19:55:38 +00:00
Revert "Make it possible to build SCST with clang"
Since commit ecea60a694 breaks cross-compilation, revert it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -88,7 +88,6 @@ run_conftest = $(shell \
|
||||
output=conftest/$1/build-output-$(KVER).txt; \
|
||||
fi; \
|
||||
if MAKEFLAGS= make -C $(KDIR) V=$(V) \
|
||||
$(shell [ -n "$(CC)" ] && echo CC="$(CC)") \
|
||||
M="$(shell pwd)/conftest/$1" \
|
||||
CONFTEST_CFLAGS="-Werror $(OFED_CFLAGS)" $(OFED_CONFIG) \
|
||||
KBUILD_EXTRA_SYMBOLS="$(OFED_MODULE_SYMVERS)" \
|
||||
@@ -113,7 +112,6 @@ CONFTEST_CFLAGS = $(OFED_CFLAGS) \
|
||||
|
||||
all: check $(CONFTEST_OUTPUTS)
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd)/src \
|
||||
$(shell [ -n "$(CC)" ] && echo CC="$(CC)") \
|
||||
CONFTEST_CFLAGS="$(CONFTEST_CFLAGS)" \
|
||||
$(OFED_CONFIG) modules
|
||||
|
||||
@@ -123,7 +121,6 @@ install: all
|
||||
true
|
||||
(cd src && KDIR=$(KDIR) ../../scripts/sign-modules)
|
||||
$(MAKE) -C $(KDIR) M=$(shell pwd)/src \
|
||||
$(shell [ -n "$(CC)" ] && echo CC="$(CC)") \
|
||||
CONFTEST_CFLAGS="$(CONFTEST_CFLAGS)" \
|
||||
$$([ -n "$(DEPMOD)" ] && echo "DEPMOD=$(DEPMOD)") \
|
||||
CONFIG_MODULE_SIG_ALL= modules_install
|
||||
|
||||
Reference in New Issue
Block a user