From: Stefan Froberg <stefan.froberg@petroprogram.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] valgrind: valgrind/valgrind.h missing if --disable-tls enabled
Date: Sun, 12 Aug 2012 22:56:10 +0300 [thread overview]
Message-ID: <1344801370-14582-2-git-send-email-stefan.froberg@petroprogram.com> (raw)
In-Reply-To: <1344801370-14582-1-git-send-email-stefan.froberg@petroprogram.com>
Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com>
---
package/valgrind/valgrind.mk | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk
index 05f402f..c39da4f 100644
--- a/package/valgrind/valgrind.mk
+++ b/package/valgrind/valgrind.mk
@@ -7,7 +7,12 @@
VALGRIND_VERSION = 3.7.0
VALGRIND_SITE = http://valgrind.org/downloads/
VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2
-VALGRIND_CONF_OPT = --disable-tls
+
+ifeq ($(BR2_GCC_ENABLE_TLS),y)
+ VALGRIND_CONF_OPT = --enable-tls
+else
+ VALGRIND_CONF_OPT = --disable-tls
+endif
# On ARM, Valgrind only supports ARMv7, and uses the arch part of the
# host tuple to determine whether it's being built for ARMv7 or
--
1.7.7.6
next prev parent reply other threads:[~2012-08-12 19:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-12 19:56 [Buildroot] [PATCH] valgrind: valgrind/valgrind.h missing if --disable-tls enabled Stefan Froberg
2012-08-12 19:56 ` Stefan Froberg [this message]
2012-08-21 22:25 ` Arnout Vandecappelle
2012-08-22 8:58 ` Stefan Fröberg
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=1344801370-14582-2-git-send-email-stefan.froberg@petroprogram.com \
--to=stefan.froberg@petroprogram.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