The Samba-Bugzilla – Attachment 5456 Details for
Bug 7209
--as-needed cannot be disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch created by Metze
samba3-3.5.0-fix-build-rhel5.patch (text/plain), 1.37 KB, created by
Karolin Seeger
on 2010-03-04 06:11:27 UTC
(
hide
)
Description:
Patch created by Metze
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2010-03-04 06:11:27 UTC
Size:
1.37 KB
patch
obsolete
>From 788938444c24e5879a4bb49abcd28ccf2c9cac33 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@sernet.private> >Date: Thu, 4 Mar 2010 11:14:51 +0100 >Subject: [PATCH] s3:configure: add --enable-as-needed > >On some broken systems like RHEL5, we need to be able >to disable --as-needed. > >metze >--- > source3/configure.in | 10 ++++++++-- > 1 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index 7ba72bf..5283d8f 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -1746,7 +1746,12 @@ fi > > AC_MSG_RESULT($BLDSHARED) > >-for flags in "-Wl,--as-needed" "-Wl,-z,ignore" "-z ignore" ; do >+AC_ARG_ENABLE(as-needed, >+ [AS_HELP_STRING([--enable-as-needed], >+ [Turn on as-needed support if available (default=yes)])]) >+ >+if test "x$enable_as_needed" != xno; then >+ for flags in "-Wl,--as-needed" "-Wl,-z,ignore" "-z ignore" ; do > saved_ldflags="$LDFLAGS" > AC_MSG_CHECKING([if $flags works]) > LDFLAGS="$flags $saved_ldflags" >@@ -1757,7 +1762,8 @@ for flags in "-Wl,--as-needed" "-Wl,-z,ignore" "-z ignore" ; do > AC_MSG_RESULT([no])) > LDFLAGS="$LD_AS_NEEDED_FLAG $saved_ldflags" > test x"$ld_as_needed_flag_found" = xyes && break >-done >+ done >+fi > > # for historical reasons almost all linkers don't complain about unresolved > # symbols in shared libs. Except for the internal samba modules we want to get >-- >1.6.5.7 >
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 7209
: 5456 |
5708
|
5709
|
5736
|
5737
|
5741
|
5742