summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimao Gomes Viana2020-01-31 21:47:19 +0100
committerSimao Gomes Viana2020-01-31 21:47:19 +0100
commitfa70bb6786b00c52c72c8f839a3e27f146c9b7b6 (patch)
treee5d1391d726fe56fbc33252d9a7a0849e59df939
parent52cdbab0b132e0c127fb812fb2dbe3d46ad96fa6 (diff)
downloadaur-fa70bb6786b00c52c72c8f839a3e27f146c9b7b6.tar.gz
PKGBUILD: add comment explaining sed
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f3c468fe807e..833f2f3d1d4f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -141,6 +141,7 @@ _package-headers() {
cd "${_srcname}"
+ # Fix for DKMS because clang doesn't like this
for f in Makefile kernel/Makefile; do
sed -i -re '/^.*[+]= *(-Qunused-arguments|-mno-global-merge|-ftrivial-auto-var-init=pattern)$/d' $f
done