Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 341244 Details for
Bug 341087
sys-auth/pam_smb does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pam_smb-makefile.patch
pam_smb-makefile.patch (text/plain), 3.74 KB, created by
Michael Mair-Keimberger (mm1ke)
on 2013-03-07 17:10:15 UTC
(
hide
)
Description:
pam_smb-makefile.patch
Filename:
MIME Type:
Creator:
Michael Mair-Keimberger (mm1ke)
Created:
2013-03-07 17:10:15 UTC
Size:
3.74 KB
patch
obsolete
>--- Makefile.in 2013-03-06 20:12:39.220253693 +0100 >+++ Makefile.in 2013-03-06 20:14:03.700385148 +0100 >@@ -49,7 +49,7 @@ > export CFLAGS CC SHLIB_LD SHLIB_CFLAGS SHLIB_SUFFIX DOBJS MOBJS MSRCS INSTALL INSTALLDIR MLIBS DLIBS EXTRALIBS > > %.o : %.c >- $(CC) $(CFLAGS) $(DYNAMIC) $(CPPFLAGS) -c $< -o $@ >+ $(CC) $(CFLAGS) $(LDFLAGS) $(DYNAMIC) $(CPPFLAGS) -c $< -o $@ > > > ########################### don't edit below ####################### >@@ -80,4 +80,4 @@ > rm -f *.a *.out *.o *.so *.bak config.log config.cache config.status config.h Makefile include/config.h > > .c.o: >- $(CC) -c $(CFLAGS) $< >+ $(CC) -c $(CFLAGS) $(LDFLAGS) $< >--- smbval/Makefile 2000-08-19 21:58:03.000000000 +0200 >+++ smbval/Makefile 2013-03-06 20:22:52.721212643 +0100 >@@ -27,7 +27,7 @@ > > .c.o: $(INCLUDES) > @echo Compiling $*.c >- $(CC) -I../include $(CFLAGS) -c $*.c >+ $(CC) -I../include $(CFLAGS) $(LDFLAGS) -c $*.c > > clean: > rm -f *.o smbvalid.a >--- pamsmbd/Makefile 2002-04-12 13:01:23.000000000 +0200 >+++ pamsmbd/Makefile 2013-03-06 21:45:29.398977718 +0100 >@@ -4,11 +4,11 @@ > > INCLUDE = -I../include -I../tdb > >-CFLAGS += ${INCLUDE} >+CFLAGS += $(LDFLAGS) ${INCLUDE} > TARGET = pamsmbd > > ${TARGET}: ${OBJS} ../smbval/smbvalid.a ../tdb/tdb.o ../tdb/spinlock.o >- $(CC) -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../tdb/spinlock.o ../smbval/smbvalid.a $(DLIBS) >+ $(CC) $(CFLAGS) $(LDFLAGS) -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../tdb/spinlock.o ../smbval/smbvalid.a $(DLIBS) > > clean: > rm -f ${TARGET} ${OBJS} >--- pamsmbd/Makefile.crypt 2001-01-30 15:59:31.000000000 +0100 >+++ pamsmbd/Makefile.crypt 2013-03-06 21:45:33.728984495 +0100 >@@ -4,11 +4,11 @@ > > INCLUDE = -I../include -I../tdb > >-CFLAGS += ${INCLUDE} -Wall >+CFLAGS += $(LDFLAGS) ${INCLUDE} -Wall > TARGET = pamsmbd > > ${TARGET}: ${OBJS} ../smbval/smbvalid.a ../tdb/tdb.o >- $(CC) -DCRYPT -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS) -lcrypt >+ $(CC) $(CFLAGS) $(LDFLAGS) -DCRYPT -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS) -lcrypt > > clean: > rm -f ${TARGET} ${OBJS} >--- pamsmbd/Makefile.md5 2001-01-30 15:59:31.000000000 +0100 >+++ pamsmbd/Makefile.md5 2013-03-06 21:45:31.128980422 +0100 >@@ -4,11 +4,11 @@ > > INCLUDE = -I../include -I../tdb > >-CFLAGS += ${INCLUDE} -Wall >+CFLAGS += $(LDFLAGS) ${INCLUDE} -Wall > TARGET = pamsmbd > > ${TARGET}: ${OBJS} ../smbval/smbvalid.a ../tdb/tdb.o >- $(CC) -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS) >+ $(CC) $(CFLAGS) $(LDFLAGS) -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS) > > clean: > rm -f ${TARGET} ${OBJS} >--- pamsmbm/Makefile 2002-04-12 13:01:23.000000000 +0200 >+++ pamsmbm/Makefile_new 2013-03-07 18:00:44.827766678 +0100 >@@ -4,7 +4,7 @@ > # > # > >-CFLAGS = -DHAVE_CONFIG_H -I../include -I.. >+INCLUDE = -DHAVE_CONFIG_H -I../include -I.. > > LIBAUTHSH = pam_smb_auth$(SHLIB_SUFFIX) > >@@ -16,7 +16,7 @@ > LIBSHARED = $(LIBAUTHSH) > > %.o : %.c >- $(CC) $(CFLAGS) $(SHLIB_CFLAGS) $(DYNAMIC) $(CPPFLAGS) -c $< -o $@ >+ $(CC) $(CFLAGS) $(INCLUDE) $(LDFLAGS) $(SHLIB_CFLAGS) $(DYNAMIC) $(CPPFLAGS) -c $< -o $@ > > > ########################### don't edit below ####################### >@@ -26,12 +26,12 @@ > all: $(LIBSHARED) Makefile > > smb_auth: smb_auth.o >- gcc -o smb_auth smb_auth.o queue_valid.o ../smbval/smbvalid.a >+ $(CC) $(CFLAGS) $(INCLUDE) $(LDFLAGS) -o smb_auth smb_auth.o queue_valid.o ../smbval/smbvalid.a > > $(LIBOBJD): $(LIBSRC) > > $(LIBAUTHSH): $(LIBAUTHSRC) $(LIBOBJ) >- $(SHLIB_LD) $(LD_FLAGS) -o $@ $(LIBAUTHOBJ) $(EXTRALIBS) >+ $(CC) -shared $(CFLAGS) $(LDFLAGS) -o $@ $(LIBAUTHOBJ) $(EXTRALIBS) > > clean: > rm -f $(LIBAUTHSH) $(LIBAUTHOBJ) a.out core *~ >@@ -43,4 +43,4 @@ > rm -f *.a *.out *.o *.so > > .c.o: >- $(CC) -c $(CFLAGS) $< >+ $(CC) -c $(CFLAGS) $(INCLUDE) $(LDFLAGS) $< >
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 Raw
Actions:
View
Attachments on
bug 341087
:
250655
|
341164
|
341166
| 341244