Merge pull request #958 from kirawrath/master

Making kpatch-build compatible with custom gcc names
This commit is contained in:
Joe Lawrence 2019-05-15 10:21:38 -04:00 committed by GitHub
commit 66dfd9ab5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ fi
declare -a args=("$@")
if [[ "$TOOLCHAINCMD" = "gcc" ]] ; then
if [[ "$TOOLCHAINCMD" =~ "gcc" ]] ; then
while [ "$#" -gt 0 ]; do
if [ "$1" = "-o" ]; then
obj="$2"