From dec5c80854772662c42401684ecfc8dd8f8dda63 Mon Sep 17 00:00:00 2001 From: Koopa Date: Sat, 9 Jan 2021 06:38:30 -0500 Subject: [PATCH] linux-tkg: Blacklist $_path from installed config. (#150) --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index a9cf877..0cfc4d8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -428,8 +428,8 @@ build() { msg2 'ccache was found and will be used' fi - # document the TkG variables, excluding "_", "_EXT_CONFIG_PATH", and "_where". - declare -p | cut -d ' ' -f 3 | grep -P '^_(?!=|EXT_CONFIG_PATH|where)' > "${srcdir}/customization-full.cfg" + # document the TkG variables, excluding "_", "_EXT_CONFIG_PATH", "_where", and "_path". + declare -p | cut -d ' ' -f 3 | grep -P '^_(?!=|EXT_CONFIG_PATH|where|path)' > "${srcdir}/customization-full.cfg" # remove -O2 flag and place user optimization flag CFLAGS=${CFLAGS/-O2/}