Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Brendan Heading <brendanheading@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/empty - fix build failure
Date: Tue,  4 Aug 2015 16:53:01 +0100	[thread overview]
Message-ID: <1438703581-25996-1-git-send-email-brendanheading@gmail.com> (raw)

Fixes http://autobuild.buildroot.net/results/e07/e07aec9a839e89b7452b13bf5445164530e27414/

"empty" fails to build if _POSIX_SEMAPHORES is not defined, which is the
case on a toolchain with no threading support.

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
---
 package/empty/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/empty/Config.in b/package/empty/Config.in
index 7fd0877..9a77f8d 100644
--- a/package/empty/Config.in
+++ b/package/empty/Config.in
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_EMPTY
 	bool "empty"
 	depends on BR2_USE_MMU # uses fork()
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Run processes and applications under pseudo-terminal (PTY) sessions.
 
 	  http://empty.sourceforge.net/
+
+comment "empty needs a toolchain w/ threads"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
-- 
2.4.3

             reply	other threads:[~2015-08-04 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04 15:53 Brendan Heading [this message]
2015-08-06 18:59 ` [Buildroot] [PATCH 1/1] package/empty - fix build failure Waldemar Brodkorb
2015-08-06 19:51   ` Brendan Heading

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=1438703581-25996-1-git-send-email-brendanheading@gmail.com \
    --to=brendanheading@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox