From: Matt Madison Date: Tue, 12 Sep 2017 12:50:22 +0000 (-0300) Subject: go.bbclass: remove GO_GCFLAGS nad GO_LDFLAGS X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~20042 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d37f60c2606de216aaa2d593b73b1de0a5c031e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass index b3464d21056..0ff82ca2bb1 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}"