All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Lin <axel.lin@ingics.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] zsh: needs mmu
Date: Thu, 03 Oct 2013 09:20:07 +0800	[thread overview]
Message-ID: <1380763207.1614.1.camel@phoenix> (raw)

Fix below build error if !BR2_USE_MMU:

exec.o: In function `zfork':
exec.c:(.text+0x150c): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [zsh] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/zsh/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/zsh/Config.in b/package/zsh/Config.in
index fd63aa9..6853249 100644
--- a/package/zsh/Config.in
+++ b/package/zsh/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ZSH
 	bool "zsh"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NCURSES
 	help
 	  zsh is a shell designed for interactive use, although it is also
-- 
1.8.1.2

             reply	other threads:[~2013-10-03  1:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-03  1:20 Axel Lin [this message]
2013-10-03  6:48 ` [Buildroot] [PATCH] zsh: needs mmu Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1380763207.1614.1.camel@phoenix \
    --to=axel.lin@ingics.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.