[Buildroot] [PATCH] Use TARGET_LDFLAGS for cmake shared and module libraries
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Jul 19 07:44:13 UTC 2018
Hello,
On Thu, 12 Jul 2018 06:52:13 +0000, Damien Thébault wrote:
> With cmake packages, we are only using TARGET_LDFLAGS for executables
> and not for shared libraries.
>
> This patch adds CMAKE_SHARED_LINKER_FLAGS and CMAKE_MODULE_LINKER_FLAGS
> to the cmake toolchain file so that buildroot TARGET_LDFLAGS are used
> for shared and module libraries.
>
> Signed-off-by: Damien Thébault <damien.thebault at vitec.com>
> ---
> support/misc/toolchainfile.cmake.in | 2 ++
> 1 file changed, 2 insertions(+)
Applied to master, thanks. We'll see how much build breakage this will
cause (or not?) in the next days :-)
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list