diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2014-01-09 13:13:30 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2014-01-09 13:13:30 -0500 |
commit | 6e03c5ada151e812700daba1a87970f295a33180 (patch) | |
tree | 3b4fb3323f3321b9e83b0cbac2719ede10691be4 /krb5-1.12-buildconf.patch | |
parent | 5de1fa728f44d6d1cfa7a8edfe2e1e2c8938e196 (diff) | |
download | krb5-6e03c5ada151e812700daba1a87970f295a33180.tar.gz krb5-6e03c5ada151e812700daba1a87970f295a33180.tar.xz krb5-6e03c5ada151e812700daba1a87970f295a33180.zip |
Link shared libs using -Wl,--warn-shared-textrel
- pass -Wl,--warn-shared-textrel to the compiler when we're creating shared
libraries
Diffstat (limited to 'krb5-1.12-buildconf.patch')
-rw-r--r-- | krb5-1.12-buildconf.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krb5-1.12-buildconf.patch b/krb5-1.12-buildconf.patch index ab935ee..11b816f 100644 --- a/krb5-1.12-buildconf.patch +++ b/krb5-1.12-buildconf.patch @@ -11,7 +11,7 @@ not just assume that the compiler supports using these flags. # Linux ld doesn't default to stuffing the SONAME field... # Use objdump -x to examine the fields of the library - LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined' -+ LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined -Wl,-z,relro' ++ LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,$(LIBPREFIX)$(LIBBASE)$(SHLIBSEXT),--no-undefined -Wl,-z,relro -Wl,--warn-shared-textrel' # LDCOMBINE_TAIL='-Wl,--version-script binutils.versions && $(PERL) -w $(top_srcdir)/util/export-check.pl $(SHLIB_EXPORT_FILE) $@' SHLIB_EXPORT_FILE_DEP=binutils.versions |