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:
Seth Jennings 2015-10-21 14:10:33 -05:00
commit ff40e54435

View File

@ -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"