mirror of
https://github.com/dynup/kpatch
synced 2024-12-24 06:02:05 +00:00
Merge pull request #515 from euspectre/kcflags-fix
kpatch-build: do not use -ffunction-sections for a patch module itself
This commit is contained in:
commit
ff40e54435
@ -537,6 +537,8 @@ echo -n "Patched objects:"
|
||||
for i in "${!objnames[@]}"; do echo -n " $(basename $i)"; done
|
||||
echo
|
||||
|
||||
export KCFLAGS="-I$DATADIR/patch"
|
||||
|
||||
echo "Building patch module: kpatch-$PATCHNAME.ko"
|
||||
cp "$OBJDIR/.config" "$SRCDIR"
|
||||
cd "$SRCDIR"
|
||||
|
Loading…
Reference in New Issue
Block a user