]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
cc-tool: pass -latomic in LIBS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Aug 2017 13:34:15 +0000 (15:34 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Aug 2017 21:23:24 +0000 (23:23 +0200)
commita3b1e975af37646b1c966da0affe8d67da0c1487
treeca33f53cca039fb553ffe3e203bf6db0f8ed0ef8
parent55a9d6d55888b04ec6c476399e5b98a2412995f5
cc-tool: pass -latomic in LIBS

Just like -lpthread was passed in LIBS, -latomic should also be passed
in LIBS. In order for this to work, we however need to first fix
cc-tool's Makefile.am so that it does not overwrite LIBS.

This is the first part of fixing the build of cc-tool in a static
linking scenario on SPARC, i.e to fix:

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

The patch has been merged upstream, in
https://github.com/dashesy/cc-tool/commit/553f9c601646af0c6e3f6150d0fa3bc63ff56416.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/cc-tool/0003-Makefile.am-do-not-overwrite-LIBS.patch [new file with mode: 0644]
package/cc-tool/cc-tool.mk