diff options
author | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2017-10-16 19:08:45 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-10-21 21:58:12 +0200 |
commit | 80ea21bc3c2147adf810731b0b242e94a3ad294e (patch) | |
tree | e7b418b0256268e8539dc71ac933e06ecddcb5c9 /package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch | |
parent | e7e71c0124a998893962e5fcc3500206f3b57a59 (diff) | |
download | buildroot-80ea21bc3c2147adf810731b0b242e94a3ad294e.tar.gz buildroot-80ea21bc3c2147adf810731b0b242e94a3ad294e.zip |
package/go: fix cross-compilation settings
This patch fixes a bug with the BR2_TOOLCHAIN_HAS_THREADS variable
handling which causes CGO_ENABLED to be always 0.
Furthermore, it fixes the cross compilation options for the go
compiler: setting CGO_ENABLED should be done only for the target
compiler not the host one.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Christian Stewart <christian@paral.in>
Diffstat (limited to 'package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch')
0 files changed, 0 insertions, 0 deletions