Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739372 - games-strategy/knights-demo-1.32-r2 does not respect CFLAGS/LDFLAGS
Summary: games-strategy/knights-demo-1.32-r2 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: Gentoo Games
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-08-28 05:39 UTC by Agostino Sarubbo
Modified: 2021-04-10 13:37 UTC (History)
2 users (show)

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

build.log (build.log,6.25 KB, text/plain)
2020-08-28 05:39 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-08-28 05:39:49 UTC

Issue: games-strategy/knights-demo-1.32-r2 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-08-28 05:39:51 UTC
Created attachment 657232 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-10 13:31:01 UTC
The bug has been closed via the following commit(s):

commit 131a8dee44f60292b93a83334c9f9c43d086de21
Author:     Sam James <>
AuthorDate: 2021-04-10 13:00:53 +0000
Commit:     Sam James <>
CommitDate: 2021-04-10 13:30:36 +0000

    games-strategy/knights-demo: EAPI 7, silence QA warnings for unused file
    All the SONAME warnings were for a binary we don't really support. We install
    it for some reason and I don't really want to meddle with it in case it
    _somehow_ works for somebody.
    Signed-off-by: Sam James <>

 .../knights-demo/knights-demo-1.32-r2.ebuild       | 33 +++++++++++++++++-----
 1 file changed, 26 insertions(+), 7 deletions(-)