From 2d37f60c2606de216aaa2d593b73b1de0a5c031e Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Tue, 12 Sep 2017 09:50:22 -0300 Subject: go.bbclass: remove GO_GCFLAGS nad GO_LDFLAGS These variables are not used anywhere. Signed-off-by: Matt Madison Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- meta/classes/go.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index b3464d2105..0ff82ca2bb 100644 --- a/meta/classes/go.bbclass +++ b/meta/classes/go.bbclass @@ -42,8 +42,6 @@ export GOROOT_FINAL = "${libdir}/go" export GOBIN_FINAL export GOPKG_FINAL = "${GOROOT_FINAL}/pkg/${TARGET_GOTUPLE}" export GOSRC_FINAL = "${GOROOT_FINAL}/src" -export GO_GCFLAGS = "${TARGET_CFLAGS}" -export GO_LDFLAGS = "${TARGET_LDFLAGS}" export CGO_CFLAGS = "${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS} ${TARGET_CFLAGS}" export CGO_CPPFLAGS = "${TARGET_CPPFLAGS}" export CGO_CXXFLAGS = "${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS} ${TARGET_CXXFLAGS}" -- cgit 1.2.3-korg