diff mbox series

[trusty/retpoline-hints,1/3] UBUNTU: [Packaging] retpoline hints -- handle missing files when RETPOLINE not enabled

Message ID 20180403165249.15489-6-apw@canonical.com
State New
Headers show
Series [trusty/retpoline-hints,1/3] UBUNTU: [Packaging] retpoline hints -- handle missing files when RETPOLINE not enabled | expand

Commit Message

Andy Whitcroft April 3, 2018, 4:52 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1758856
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 6fa1aa074e19..3573dc7c149f 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -256,7 +256,7 @@  endif
 	rm -f $(hdrdir)/Makefile
 	rm -rf $(hdrdir)/include2 $(hdrdir)/source
 	# We do not need the retpoline information.
-	find $(hdrdir) -name \*.o.ur-\* | xargs rm
+	find $(hdrdir) -name \*.o.ur-\* | xargs rm -f
 	# Copy over the compilation version.
 	cp "$(builddir)/build-$*/include/generated/compile.h" \
 		"$(hdrdir)/include/generated/compile.h"