summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-09-27 04:29:43 +0000
committerMike Frysinger <vapier@gentoo.org>2013-09-27 04:29:43 +0000
commit2513218940ab8e576cbd1c4cac8880446df02cd6 (patch)
tree5d33a643573b8a5d24ddc2a1f9db68346c60d6f2 /sys-apps/kexec-tools
parentInitial import, ebuild by me (diff)
downloadgentoo-2-2513218940ab8e576cbd1c4cac8880446df02cd6.tar.gz
gentoo-2-2513218940ab8e576cbd1c4cac8880446df02cd6.tar.bz2
gentoo-2-2513218940ab8e576cbd1c4cac8880446df02cd6.zip
Tweak patch so we use CFLAGS when linking.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-apps/kexec-tools')
-rw-r--r--sys-apps/kexec-tools/ChangeLog6
-rw-r--r--sys-apps/kexec-tools/files/README.Gentoo4
-rw-r--r--sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch2
3 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog
index 1ad615c41707..63087dc0797d 100644
--- a/sys-apps/kexec-tools/ChangeLog
+++ b/sys-apps/kexec-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/kexec-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.53 2013/09/21 11:35:53 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.54 2013/09/27 04:29:43 vapier Exp $
+
+ 27 Sep 2013; Mike Frysinger <vapier@gentoo.org> files/README.Gentoo,
+ files/kexec-tools-2.0.0-respect-LDFLAGS.patch:
+ Tweak patch so we use CFLAGS when linking.
*kexec-tools-2.0.4-r2 (21 Sep 2013)
diff --git a/sys-apps/kexec-tools/files/README.Gentoo b/sys-apps/kexec-tools/files/README.Gentoo
index ad88924cbb23..7735e3275ba4 100644
--- a/sys-apps/kexec-tools/files/README.Gentoo
+++ b/sys-apps/kexec-tools/files/README.Gentoo
@@ -1,7 +1,7 @@
Usage
=====
-Do
+Do
$ man 8 kexec
for full understanding of the underlying kexec command.
Gentoo offers a wrapper to the bare kexec command through
@@ -16,7 +16,7 @@ Usage
-----
In Gentoo, kexec is invoked, i.e., the new kernel will be booted when
-rebooting, by reboot (8) command or by pressing Ctrl+Alt+Del.
+rebooting, by reboot (8) command or by pressing Ctrl+Alt+Del.
If you want to use kexec once, just run
$ /etc/init.d/kexec start
diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch b/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch
index d09addff6a7a..040d138ece06 100644
--- a/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch
+++ b/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch
@@ -5,7 +5,7 @@
$(KDUMP): $(KDUMP_OBJS)
@$(MKDIR) -p $(@D)
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $(KDUMP_OBJS)
-+ $(CC) $(LDFLAGS) -o $@ $(KDUMP_OBJS)
++ $(LINK.o) $(CFLAGS) -o $@ $(KDUMP_OBJS)
$(KDUMP_MANPAGE): kdump/kdump.8
$(MKDIR) -p $(MANDIR)/man8