package/pulseview: fix build when linking against libatomic is needed
authorSamuel Martin <s.martin49@gmail.com>
Thu, 26 May 2016 22:00:44 +0000 (00:00 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 29 May 2016 21:12:00 +0000 (23:12 +0200)
commitb385d13f1f1b04c0ce86d9d05c6c3c25218c777f
tree402f408d871f14d6883fbdfc57b1e07cb9304216
parente4d55d33737485d8055c2fe3453e29fee51a05d7
package/pulseview: fix build when linking against libatomic is needed

With some toolchains, using atomics requires to explicitly add -latomic
to the linker flags.

This change adds a patch to pulseview adding this detection and updating
the LDFLAGS when appropriate.

This patch has be sent upstream:
  http://article.gmane.org/gmane.comp.debugging.sigrok.devel/2097

Fixes:
  http://autobuild.buildroot.org/results/1e3/1e3101261252d5f30fdf842cc99604e4f4c25eef/build-end.log

Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pulseview/0002-cmake-add-check-for-explicit-linking-against-libatom.patch [new file with mode: 0644]