From abad3d114acfb07ed8372fcc7e1d83596d57789c Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 31 Oct 2011 09:54:06 +0100 Subject: [PATCH] kexec-tools: add patch to build with gcc-4.6 Signed-off-by: Stephan Raue --- .../patches/kexec-tools-2.0.2-gcc-4.6.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/sysutils/kexec-tools/patches/kexec-tools-2.0.2-gcc-4.6.patch diff --git a/packages/sysutils/kexec-tools/patches/kexec-tools-2.0.2-gcc-4.6.patch b/packages/sysutils/kexec-tools/patches/kexec-tools-2.0.2-gcc-4.6.patch new file mode 100644 index 0000000000..c66d069a91 --- /dev/null +++ b/packages/sysutils/kexec-tools/patches/kexec-tools-2.0.2-gcc-4.6.patch @@ -0,0 +1,12 @@ +diff -Naur kexec-tools-2.0.2/purgatory/Makefile kexec-tools-2.0.2.patch/purgatory/Makefile +--- kexec-tools-2.0.2/purgatory/Makefile 2010-07-29 06:19:59.000000000 +0200 ++++ kexec-tools-2.0.2.patch/purgatory/Makefile 2011-10-30 18:38:31.462335639 +0100 +@@ -56,7 +56,7 @@ + -I$(srcdir)/include \ + -I$(shell $(CC) -print-file-name=include) + $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\ +- --no-undefined -nostartfiles -nostdlib -nodefaultlibs \ ++ -nostartfiles -nostdlib -nodefaultlibs \ + -e purgatory_start -r + + $(PURGATORY): $(PURGATORY_OBJS)