redis: use BR2_TOOLCHAIN_HAS_LIBATOMIC
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 28 Mar 2016 14:11:01 +0000 (11:11 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 28 Mar 2016 20:41:02 +0000 (22:41 +0200)
commit339048ba661578463f323a60ebe28c6ca4f9ed95
treec23376a7ff40f03449a25d0cd885cb0a51aa5fdf
parent2c155336a07b1098ed570b046a8ea21db6b56898
redis: use BR2_TOOLCHAIN_HAS_LIBATOMIC

It uses __atomic_fetch_add_4 so libatomic must be pulled in if
necessary. Fixes:
http://autobuild.buildroot.net/results/dfd/dfdfd77463b0ddd7016202372afcad7fb6fc9ce4/

[Peter: keep TARGET_CONFIGURE_OPTS]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/redis/Config.in
package/redis/redis.mk