Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742602 - www-client/surf-2.0 does not respect CFLAGS/LDFLAGS
Summary: www-client/surf-2.0 does not respect CFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PullRequest
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-09-15 06:09 UTC by Agostino Sarubbo
Modified: 2021-03-18 11:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,14.78 KB, text/plain)
2020-09-15 06:09 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-15 06:09:47 UTC

Issue: www-client/surf-2.0 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: tinderbox)

To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-15 06:09:49 UTC
Created attachment 660324 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-03-18 11:15:03 UTC
The bug has been closed via the following commit(s):

commit cb5b11dc1f76153067fdad889c05095768725233
Author:     Petr Vaněk <>
AuthorDate: 2021-03-17 15:23:54 +0000
Commit:     Joonas Niilola <>
CommitDate: 2021-03-18 11:07:51 +0000

    www-client/surf: Respect CFLAGS and LDFLAGS
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Petr Vaněk <>
    Signed-off-by: Joonas Niilola <>

 www-client/surf/files/surf-2.0-gentoo.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)