Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27483 Details for
Bug 44825
filter-flags fails to remove -pie
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to introduce filter-ldflags into flag-o-matic.eclass
flag-o-matic.eclass-ceed.diff (text/plain), 842 bytes, created by
Christian Rubbert
on 2004-03-16 11:35:08 UTC
(
hide
)
Description:
Patch to introduce filter-ldflags into flag-o-matic.eclass
Filename:
MIME Type:
Creator:
Christian Rubbert
Created:
2004-03-16 11:35:08 UTC
Size:
842 bytes
patch
obsolete
>--- flag-o-matic.eclass.orig 2004-03-12 12:38:56.000000000 +0100 >+++ flag-o-matic.eclass 2004-03-16 20:25:37.291759160 +0100 >@@ -49,6 +49,10 @@ > #### append-ldflags #### > # Add extra flags to your current LDFLAGS > # >+#### filter-ldflags <flags> #### >+# Remove particular flags from LDFLAGS >+# Matches only complete flags >+# > #### etexec-flags #### > # hooked function for hardened-gcc that appends > # -yet_exec {C,CXX,LD}FLAGS when hardened-gcc is installed >@@ -296,6 +300,17 @@ > return 0 > } > >+filter-ldflags() { >+ # we do this fancy spacing stuff so as to not filter >+ # out part of a flag ... we want flag atoms ! :D >+ LDFLAGS=" ${LDFLAGS} " >+ for x in "$@" ; do >+ LDFLAGS="${LDFLAGS// ${x} / }" >+ done >+ LDFLAGS="${LDFLAGS:1:${#LDFLAGS}-2}" >+ return 0 >+} >+ > etexec-flags() { > has_version sys-devel/hardened-gcc > if [ $? == 0 ] ; then
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 44825
: 27483 |
27484
|
27485