diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2025-10-10 21:01:11 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-10-10 19:27:35 -0700 |
commit | 52e2cac8e07a10f3b99c8561a4aa1af651c8a2a7 (patch) | |
tree | d9a4d41f72020028720aacd7b404a2dd864f6093 /meta-python/recipes-devtools/python/python3-flask-cors/CVE-2024-6221.patch | |
parent | 441873fdc536a35709f61c25ad03d811b0186269 (diff) | |
download | meta-openembedded-52e2cac8e07a10f3b99c8561a4aa1af651c8a2a7.tar.gz |
net-snmp: Backport a patch to make sure $(LDFLAGS) is before any libs
After commit 1997d3d6c43348c663f3295dac3a906ad38549a4 (net-snmp: Do not
pass LDFLAGS to compiler), some linker flags, like "-Wl,--as-needed",
appear too late on the linker command line. Backport a patch that
corrects the order of the arguments given to the linker.
Unfortunately, the patch is not enough. libtool reorders the arguments
given to libtool --mode=link so that any lib dependencies appear before
other linker arguments. Therefore it is needed to inject -Wl,--as-needed
on the linker command line that libtool produces.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-flask-cors/CVE-2024-6221.patch')
0 files changed, 0 insertions, 0 deletions