The Samba-Bugzilla – Attachment 9215 Details for
Bug 10112
Use -R linker flag on Solaris, not -rpath (waf needs better compiler AND linker recognition)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
User -Wl,-R instead of -R
0001-Use-R-linker-flag-instead-of-rpath-on-Solaris.patch (text/plain), 1.36 KB, created by
Ralph Böhme
on 2013-09-14 15:55:53 UTC
(
hide
)
Description:
User -Wl,-R instead of -R
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2013-09-14 15:55:53 UTC
Size:
1.36 KB
patch
obsolete
>From ce4d161af8431fdb1f46a3d749d34afe968c1cee Mon Sep 17 00:00:00 2001 >From: Ralph Boehme <sloowfranklin@gmail.com> >Date: Fri, 23 Aug 2013 19:43:21 +0200 >Subject: [PATCH] Use -R linker flag instead of -rpath on Solaris > >--- > buildtools/wafadmin/Tools/gcc.py | 5 +++++ > buildtools/wafadmin/Tools/suncc.py | 1 + > 2 files changed, 6 insertions(+) > >diff --git a/buildtools/wafadmin/Tools/gcc.py b/buildtools/wafadmin/Tools/gcc.py >index 420b44f..c3b6b1b 100644 >--- a/buildtools/wafadmin/Tools/gcc.py >+++ b/buildtools/wafadmin/Tools/gcc.py >@@ -114,6 +114,11 @@ def gcc_modifier_aix(conf): > v['SHLIB_MARKER'] = '' > > @conftest >+def gcc_modifier_sunos(conf): >+ v = conf.env >+ v['RPATH_ST']='-Wl,-R%s' >+ >+@conftest > def gcc_modifier_platform(conf): > # * set configurations specific for a platform. > # * the destination platform is detected automatically by looking at the macros the compiler predefines, >diff --git a/buildtools/wafadmin/Tools/suncc.py b/buildtools/wafadmin/Tools/suncc.py >index b1a2aad..45d4e69 100644 >--- a/buildtools/wafadmin/Tools/suncc.py >+++ b/buildtools/wafadmin/Tools/suncc.py >@@ -48,6 +48,7 @@ def scc_common_flags(conf): > v['STATICLIB_ST'] = '-l%s' > v['STATICLIBPATH_ST'] = '-L%s' > v['CCDEFINES_ST'] = '-D%s' >+ v['RPATH_ST'] = '-R%s' > > v['SONAME_ST'] = '-Wl,-h -Wl,%s' > v['SHLIB_MARKER'] = '-Bdynamic' >-- >1.8.3.4 >
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
Flags:
bjacke
:
review-
Actions:
View
Attachments on
bug 10112
:
9160
|
9215
|
10550
|
10563
|
10564