summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-09-27 04:29:48 +0000
committerMike Frysinger <vapier@gentoo.org>2013-09-27 04:29:48 +0000
commit88ac1e1a2f3def3b9c4a4f560efaebd85cadc8d7 (patch)
tree08e888e9711d9350a1bc976b4f6110e4b4c32ad6 /sys-apps/kexec-tools/files
parentInitial import, ebuild by me (diff)
downloadhistorical-88ac1e1a2f3def3b9c4a4f560efaebd85cadc8d7.tar.gz
historical-88ac1e1a2f3def3b9c4a4f560efaebd85cadc8d7.tar.bz2
historical-88ac1e1a2f3def3b9c4a4f560efaebd85cadc8d7.zip
Tweak patch so we use CFLAGS when linking.
Package-Manager: portage-2.2.0/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'sys-apps/kexec-tools/files')
-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
2 files changed, 3 insertions, 3 deletions
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