From: Andreas Oberritter <obi@saftware.de>
To: autofs@vger.kernel.org
Subject: [PATCH 2/3] autofs-5.0.7 - pass -pthread flag to gcc
Date: Thu, 14 Mar 2013 16:20:59 +0100 [thread overview]
Message-ID: <1363274460-27237-2-git-send-email-obi@saftware.de> (raw)
In-Reply-To: <1363274460-27237-1-git-send-email-obi@saftware.de>
Fixes linker error on Ubuntu 12.10 due to unresolved symbols.
Signed-off-by: Andreas Oberritter <obi@saftware.de>
---
Makefile.rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.rules b/Makefile.rules
index f2ba386..58b4bb2 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -44,8 +44,8 @@ CXXFLAGS = $(CFLAGS)
LD = ld
SOLDFLAGS = -shared
-CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
-LDFLAGS += -lpthread
+CFLAGS += -pthread -D_FILE_OFFSET_BITS=64
+LDFLAGS += -pthread
ifdef TIRPCLIB
CFLAGS += -I/usr/include/tirpc
--
1.7.10.4
next prev parent reply other threads:[~2013-03-14 15:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-14 15:20 [PATCH 1/3] autofs-5.0.7 - include linux/nfs.h directly in rpc_subs.h Andreas Oberritter
2013-03-14 15:20 ` Andreas Oberritter [this message]
2013-03-14 15:21 ` [PATCH 3/3] autofs-5.0.7 - create a shared library Andreas Oberritter
2013-03-14 22:30 ` [PATCH v2] " Andreas Oberritter
2013-03-15 10:28 ` Michael Tokarev
2013-03-15 13:45 ` Andreas Oberritter
[not found] ` <51432119.2010200@saftware.de>
[not found] ` <5143249F.1030808@msgid.tls.msk.ru>
2013-03-15 14:28 ` Andreas Oberritter
2013-03-15 15:46 ` [PATCH] autofs-5.0.7 - link autofs.a into executable only Andreas Oberritter
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=1363274460-27237-2-git-send-email-obi@saftware.de \
--to=obi@saftware.de \
--cc=autofs@vger.kernel.org \
/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