Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720860 - All packages with <dev-util/meson-0.54 ignore CFLAGS/CXXFLAGS/LDFLAGS
Summary: All packages with <dev-util/meson-0.54 ignore CFLAGS/CXXFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Mike Gilbert
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2020-05-03 19:33 UTC by Agostino Sarubbo
Modified: 2020-05-03 21:12 UTC (History)
1 user (show)

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

build.log (build.log,206.46 KB, text/plain)
2020-05-03 19:33 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-05-03 19:33:37 UTC
This is an auto-filled bug because x11-libs/gdk-pixbuf does not respect LDFLAGS.
The issue was originally discovered on x86, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0".
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-03 19:33:42 UTC
Created attachment 635886 [details]

build log and emerge --info
Comment 2 Arfrever Frehtes Taifersar Arahesis 2020-05-03 19:56:31 UTC
Result of recent changes in meson.eclass...
Comment 3 Arfrever Frehtes Taifersar Arahesis 2020-05-03 20:42:06 UTC
This problem occurs when using Meson 0.53.1.
This problem does not occur when using Meson 0.54.0 or 0.54.1.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-03 21:12:53 UTC
The bug has been closed via the following commit(s):

commit 436f24daa8a32cd36b7f78a3a203fdfb963e6157
Author:     Mike Gilbert <>
AuthorDate: 2020-05-03 21:10:34 +0000
Commit:     Mike Gilbert <>
CommitDate: 2020-05-03 21:10:34 +0000

    meson.eclass: export FLAGS for older versions on meson
    Signed-off-by: Mike Gilbert <>

 eclass/meson.eclass | 15 +++++++++++++++
 1 file changed, 15 insertions(+)