public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-fs/autofs/files: autofs-5.0.4-user-ldflags-and-as-needed-v2.patch
@ 2009-04-27  9:04 Stefaan De Roeck (stefaan)
  0 siblings, 0 replies; only message in thread
From: Stefaan De Roeck (stefaan) @ 2009-04-27  9:04 UTC (permalink / raw
  To: gentoo-commits

stefaan     09/04/27 09:04:28

  Added:                autofs-5.0.4-user-ldflags-and-as-needed-v2.patch
  Log:
  Update patch set, probably fixing bugs #253806 and #255369
  (Portage version: 2.2_rc31/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-fs/autofs/files/autofs-5.0.4-user-ldflags-and-as-needed-v2.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/files/autofs-5.0.4-user-ldflags-and-as-needed-v2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/files/autofs-5.0.4-user-ldflags-and-as-needed-v2.patch?rev=1.1&content-type=text/plain

Index: autofs-5.0.4-user-ldflags-and-as-needed-v2.patch
===================================================================
diff -ur autofs-5.0.4-old/Makefile.rules autofs-5.0.4/Makefile.rules
--- autofs-5.0.4-old/Makefile.rules	2009-04-27 10:54:19.000000000 +0200
+++ autofs-5.0.4/Makefile.rules	2009-04-27 10:55:55.000000000 +0200
@@ -24,16 +24,16 @@
 
 ifdef DEBUG
 CFLAGS    ?= -g -Wall -DDEBUG
-LDFLAGS   = -g
+AUTOFS_LDFLAGS   = -g
 STRIP     = :
 else
 ifdef DONTSTRIP
 CFLAGS    ?= -O2 -g
-LDFLAGS   = -g
+AUTOFS_LDFLAGS   = -g
 STRIP     = :
 else
 CFLAGS    ?= -O2 -Wall
-LDFLAGS   = -s
+AUTOFS_LDFLAGS   = -s
 STRIP     = strip --strip-debug
 endif
 endif
@@ -45,15 +45,14 @@
 SOLDFLAGS = -shared
 
 CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
-LDFLAGS += -lpthread
 
 ifdef TIRPCLIB
 CFLAGS += -I/usr/include/tirpc
-LDFLAGS += $(TIRPCLIB)
+AUTOFS_LDFLAGS += $(TIRPCLIB)
 endif
 
 ifdef DMALLOCLIB
-LDFLAGS += $(DMALLOCLIB)
+AUTOFS_LDFLAGS += $(DMALLOCLIB)
 endif
 
 # Standard rules
diff -ur autofs-5.0.4-old/daemon/Makefile autofs-5.0.4/daemon/Makefile
--- autofs-5.0.4-old/daemon/Makefile	2009-04-27 10:54:19.000000000 +0200
+++ autofs-5.0.4/daemon/Makefile	2009-04-27 10:54:37.000000000 +0200
@@ -20,12 +20,12 @@
 CFLAGS += -DAUTOFS_FLAG_DIR=\"$(autofsflagdir)\"
 CFLAGS += -DVERSION_STRING=\"$(version)\"
 LDFLAGS += -rdynamic
-LIBS = -ldl
+LIBS = -ldl -lpthread
 
 all: automount
 
 automount: $(OBJS) $(AUTOFS_LIB)
-	$(CC) $(LDFLAGS) $(DAEMON_LDFLAGS) -o automount $(OBJS) $(AUTOFS_LIB) $(LIBS)
+	$(CC) $(AUTOFS_LDFLAGS) $(DAEMON_LDFLAGS) $(LDFLAGS) -o automount $(OBJS) $(AUTOFS_LIB) $(LIBS)
 	$(STRIP) automount
 
 clean:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-27  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27  9:04 [gentoo-commits] gentoo-x86 commit in net-fs/autofs/files: autofs-5.0.4-user-ldflags-and-as-needed-v2.patch Stefaan De Roeck (stefaan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox