From 52de3828d78673a30c2a92c70c41e99558e19502 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 20 Feb 2020 17:17:42 -0800 Subject: linux-headers: Only use inline asm on GNU-compatible C compilers --- pkg/linux-headers/fetch.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/linux-headers/fetch.sh') diff --git a/pkg/linux-headers/fetch.sh b/pkg/linux-headers/fetch.sh index 316e4382..0fdaa7f5 100644 --- a/pkg/linux-headers/fetch.sh +++ b/pkg/linux-headers/fetch.sh @@ -22,3 +22,7 @@ xzcat "$archive" | ${PAXREAD:-pax -r} -s ',^[^/]*,src,' \ 'linux-*/arch/*/syscalls' \ 'linux-*/include/uapi' \ 'linux-*/scripts/unifdef.c' + +if [ -d patch ] ; then + git apply -v --whitespace=nowarn --directory "$dir/src" patch/* +fi -- cgit v1.2.3