Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 838954 Details for
Bug 978949
libtool + %global _hardened_build 1 = no full hardening
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Just adjust the opt-out macro name.
redhat-rpm-config-9.1.0-libtool-hardening-hack.patch (text/plain), 1.28 KB, created by
Pavel Raiskup
on 2013-12-19 12:05:47 UTC
(
hide
)
Description:
Just adjust the opt-out macro name.
Filename:
MIME Type:
Creator:
Pavel Raiskup
Created:
2013-12-19 12:05:47 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/macros b/macros >index f24b2ec..d50c3bd 100644 >--- a/macros >+++ b/macros >@@ -29,6 +29,7 @@ > #============================================================================== > # ---- configure and makeinstall. > # >+%_configure_libtool_hardening_hack 1 > %_configure ./configure > %configure \ > CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ >@@ -39,6 +40,10 @@ > for i in $(find . -name config.guess -o -name config.sub) ; do \ > [ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ; \ > done ; \ >+ [ "%_configure_libtool_hardening_hack" = 1 ] && [ x != "x%{_hardened_ldflags}" ] && \ >+ for i in $(find . -name ltmain.sh) ; do \ >+ %{__sed} -i.backup -e 's~compiler_flags=$~compiler_flags="%{_hardened_ldflags}"~' $i \ >+ done ; \ > %{_configure} --build=%{_build} --host=%{_host} \\\ > --program-prefix=%{?_program_prefix} \\\ > --disable-dependency-tracking \\\ >@@ -174,6 +179,7 @@ package or when debugging this package.\ > %__find_requires /usr/lib/rpm/redhat/find-requires > > %_hardening_cflags -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 >+# we don't escape symbols '~', '"', etc. so be careful when changing this > %_hardening_ldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld > > #_hardened_build 0
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 978949
:
766058
|
771424
|
778235
|
781859
|
782186
| 838954