Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 244049 Details for
Bug 333971
net-fs/autofs-5.0.4-r5 doesn't respect LDFLAGS for all libraries - Patch included
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
autofs-5.0.4-user-ldflags-and-as-needed-v3.patch
autofs-5.0.4-user-ldflags-and-as-needed-v3.patch (text/plain), 2.87 KB, created by
Cyprien Nicolas (fulax)
on 2010-08-22 15:07:30 UTC
(
hide
)
Description:
autofs-5.0.4-user-ldflags-and-as-needed-v3.patch
Filename:
MIME Type:
Creator:
Cyprien Nicolas (fulax)
Created:
2010-08-22 15:07:30 UTC
Size:
2.87 KB
patch
obsolete
>diff -ur autofs-5.0.4-old/Makefile.rules autofs-5.0.4/Makefile.rules >--- autofs-5.0.4-old/Makefile.rules 2010-08-22 16:49:27.538940068 +0200 >+++ autofs-5.0.4/Makefile.rules 2010-08-22 16:53:26.290815231 +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 >@@ -67,5 +66,5 @@ > $(CC) $(CFLAGS) -S $< > > .c.so: >- $(CC) $(SOLDFLAGS) $(CFLAGS) -o $*.so $< $(AUTOFS_LIB) $(DMALLOCLIB) $(LIBNSL) >+ $(CC) $(LDFLAGS) $(SOLDFLAGS) $(CFLAGS) -o $*.so $< $(AUTOFS_LIB) $(DMALLOCLIB) $(LIBNSL) > $(STRIP) $*.so >diff -ur autofs-5.0.4-old/daemon/Makefile autofs-5.0.4/daemon/Makefile >--- autofs-5.0.4-old/daemon/Makefile 2010-08-22 16:49:34.483065092 +0200 >+++ autofs-5.0.4/daemon/Makefile 2010-08-22 16:46:40.455064776 +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: >diff -ur autofs-5.0.4-old/modules/Makefile autofs-5.0.4/modules/Makefile >--- autofs-5.0.4-old/modules/Makefile 2010-08-22 16:46:39.812066008 +0200 >+++ autofs-5.0.4/modules/Makefile 2010-08-22 16:59:18.032814917 +0200 >@@ -79,7 +79,7 @@ > # Ad hoc compilation rules for modules which need auxilliary libraries > # > lookup_hesiod.so: lookup_hesiod.c >- $(CC) $(SOLDFLAGS) $(CFLAGS) $(HESIOD_FLAGS) -o lookup_hesiod.so \ >+ $(CC) $(LDFLAGS) $(SOLDFLAGS) $(CFLAGS) $(HESIOD_FLAGS) -o lookup_hesiod.so \ > lookup_hesiod.c $(AUTOFS_LIB) $(LIBHESIOD) $(LIBRESOLV) > $(STRIP) lookup_hesiod.so > >@@ -87,13 +87,13 @@ > $(CC) $(CFLAGS) $(LDAP_FLAGS) -c $< > > lookup_ldap.so: lookup_ldap.c dclist.o $(SASL_OBJ) >- $(CC) $(SOLDFLAGS) $(CFLAGS) $(LDAP_FLAGS) -o lookup_ldap.so \ >+ $(CC) $(LDFLAGS) $(SOLDFLAGS) $(CFLAGS) $(LDAP_FLAGS) -o lookup_ldap.so \ > lookup_ldap.c dclist.o $(SASL_OBJ) \ > $(AUTOFS_LIB) $(LIBLDAP) $(LIBRESOLV) > $(STRIP) lookup_ldap.so > > mount_nfs.so: mount_nfs.c replicated.o >- $(CC) $(SOLDFLAGS) $(CFLAGS) -o mount_nfs.so \ >+ $(CC) $(LDFLAGS) $(SOLDFLAGS) $(CFLAGS) -o mount_nfs.so \ > mount_nfs.c replicated.o $(AUTOFS_LIB) $(LIBNSL) > $(STRIP) mount_nfs.so >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 333971
: 244049