linux-tkg: Blacklist $_path from installed config. (#150)

This commit is contained in:
Koopa 2021-01-09 06:38:30 -05:00 committed by GitHub
parent e48d4777c3
commit dec5c80854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/}