diff --git a/kpatch-build/kpatch-gcc b/kpatch-build/kpatch-gcc index 76e24c0..a1755e1 100755 --- a/kpatch-build/kpatch-gcc +++ b/kpatch-build/kpatch-gcc @@ -24,7 +24,7 @@ if [[ "$TOOLCHAINCMD" = "gcc" ]] ; then [[ "$obj" = */.tmp_*.o ]] && obj="${obj/.tmp_/}" relobj=${obj//$KPATCH_GCC_SRCDIR\//} - case "$obj" in + case "$relobj" in *.mod.o|\ *built-in.o|\ *built-in.a|\