Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788715 - media-gfx/brscan4- does not respect CFLAGS/LDFLAGS
Summary: media-gfx/brscan4- 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: Ulrich Müller
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2021-05-07 10:41 UTC by Agostino Sarubbo
Modified: 2021-05-07 11:43 UTC (History)
1 user (show)

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

build.log (build.log,43.19 KB, text/plain)
2021-05-07 10:41 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 2021-05-07 10:41:42 UTC

Issue: media-gfx/brscan4- does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
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 2021-05-07 10:41:44 UTC
Created attachment 706491 [details]

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

commit b377ae58b15f06ce458e8f8fe2ce26de1d651201
Author:     Ulrich Müller <>
AuthorDate: 2021-05-07 11:25:58 +0000
Commit:     Ulrich Müller <>
CommitDate: 2021-05-07 11:26:25 +0000

    media-gfx/brscan4: Binary package, so add QA_PREBUILT
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <>

 media-gfx/brscan4/brscan4- | 2 ++
 1 file changed, 2 insertions(+)