protobuf: link with libatomic when needed
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 15 May 2017 20:38:32 +0000 (22:38 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 16 May 2017 21:00:26 +0000 (23:00 +0200)
commitef9ffa3426edc895dc180d45b48bf305522b3450
tree8e55aaae8900533e8ba718582292ab89e3242f2d
parent4e00f9daa04e9a84f5191f479d7236dea72fbf35
protobuf: link with libatomic when needed

The protobuf library uses atomic intrinsics, so we need to link
against libatomic.

Fixes the build of protobuf on Sparc:

  http://autobuild.buildroot.net/results/f3d76eaebd529a61bce849e355182c60f233ed06/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/protobuf/protobuf.mk