Description: Remove CDO_FLAGS variable from create-diff-object call
 During the kpatch-build execution the create-diff-object is called and it used the
 CDO_FLAGS as parameter, but in Debian this is empty and make it fail in runtime.
 This is a quick solution, need a better fix.
 .
 UPDATE: Currently, to create the object diff need to be set the --klp-arch, this
 patch force to use this parameter until to figure out why CDO_FLAGS is not fill with
 this parameter.
Author: Emmanuel Arias <eamanu@debian.org>
Forwarded: no
Last-Update: 2024-12-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/kpatch-build/kpatch-build
+++ b/kpatch-build/kpatch-build
@@ -1483,7 +1483,7 @@
 
 		# create-diff-object orig.o patched.o parent-name parent-symtab
 		#		     Module.symvers patch-mod-name output.o
-		"$TOOLSDIR"/create-diff-object "${CDO_FLAGS[@]}" "orig/$i" "patched/$i" "$KOBJFILE_NAME" \
+		"$TOOLSDIR"/create-diff-object --klp-arch "orig/$i" "patched/$i" "$KOBJFILE_NAME" \
 			"$SYMTAB" "$SYMVERS_FILE" "${MODNAME//-/_}" \
 			"output/$i" 2>&1 | logger 1
 		check_pipe_status create-diff-object
