diff options
author | Geoff Levand <geoff@infradead.org> | 2016-05-26 18:21:33 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-26 21:05:17 +0200 |
commit | e1f14a78978d65a44685375939586a3a2c8d6e41 (patch) | |
tree | c5cbef9360505361df282f35fa42e1c53875787b /package/php/php.mk | |
parent | 18ce12f0e1c54cc8d3b13063fbb0665c5554b474 (diff) | |
download | buildroot-e1f14a78978d65a44685375939586a3a2c8d6e41.tar.gz buildroot-e1f14a78978d65a44685375939586a3a2c8d6e41.zip |
package/go: Add HOST_GO_CGO_ENABLED
The go compiler's cgo support uses threads. If BR2_TOOLCHAIN_HAS_THREADS is
set, build in cgo support for any go programs that may need it. Note that
any target package needing cgo support must include
'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file.
Fixes build errors like these:
error: #warning requested reentrant code
http://autobuild.buildroot.net/results/42a8d07101d8d954511d1c884ecb66e8d861899e
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/php.mk')
0 files changed, 0 insertions, 0 deletions