package/kf5/kf5-kcoreaddons: don't treat ld warnings as errors
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Wed, 18 Dec 2019 16:19:57 +0000 (17:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 18 Dec 2019 22:22:29 +0000 (23:22 +0100)
commitcc53d5357d84ff9b78d76e45ce216061df8a37c1
treec013a3d427a50a0aec50d2777c446bd952fb6b52
parent2df6cf470397eae801e7f6ba9bfee88316a579b7
package/kf5/kf5-kcoreaddons: don't treat ld warnings as errors

Microblaze ld emits warnings like:
'
FDE encoding in
CMakeFiles/KF5CoreAddons.dir/KF5CoreAddons_autogen/mocs_compilation.cpp.o(.eh_frame)
prevents .eh_frame_hdr table being created
'
Since '-Wl,--fatal-warnings' is passed by default, build fails, so don't
treat warnings as errors by appending "-Wl,--no-fatal-warnings" to
CMAKE_SHARED_LINKER_FLAGS that is previously defined in package
dependency kf5-extra-cmake-modules.

Fixes:
http://autobuild.buildroot.net/results/f19/f198c86930535c50393e17fc7a70fb4f27b096ee/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk