]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - Makefile
ALSA: seq: Fix OOB-reads from strlcpy
[thirdparty/kernel/stable.git] / Makefile
index 9b61da532c42ff1b8933f058acbbccf5085cd578..ba3c48809f44948c7f153c04758f932cc5954cc3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 4
 PATCHLEVEL = 9
-SUBLEVEL = 165
+SUBLEVEL = 168
 EXTRAVERSION =
 NAME = Roaring Lionus
 
@@ -507,7 +507,7 @@ endif
 ifeq ($(cc-name),clang)
 ifneq ($(CROSS_COMPILE),)
 CLANG_FLAGS    := --target=$(notdir $(CROSS_COMPILE:%-=%))
-GCC_TOOLCHAIN_DIR := $(dir $(shell which $(LD)))
+GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit))
 CLANG_FLAGS    += --prefix=$(GCC_TOOLCHAIN_DIR)
 GCC_TOOLCHAIN  := $(realpath $(GCC_TOOLCHAIN_DIR)/..)
 endif