diff options
| author | Amy Fong <amy.fong@windriver.com> | 2015-06-19 12:00:45 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-06-19 15:31:34 -0400 |
| commit | 0682e9edcb7ca9c92eb40b61a01a12e20f1791b1 (patch) | |
| tree | 9c7df8f629df3916733bfb41d2fd91d8016c50ae /recipes-devtools/go/golang-cross.inc | |
| parent | 336cb30da95e199dac299d2dc08050aad0e95e0a (diff) | |
| download | meta-virtualization-0682e9edcb7ca9c92eb40b61a01a12e20f1791b1.tar.gz | |
golang-cross: do_compile fails on warnings treated as error
On glibc 2.20+, the _BSD_SOURCE and _SVID_SOURCE feature test macros are
deprecated as of glibc 2.19.90 (2.20 devel), we define _DEFAULT_SOURCE
instead.
(fixed upstream)
https://groups.google.com/forum/#!topic/golang-codereviews/S4TARFCxu2k
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/go/golang-cross.inc')
| -rw-r--r-- | recipes-devtools/go/golang-cross.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-devtools/go/golang-cross.inc b/recipes-devtools/go/golang-cross.inc index 9330572d..ce4ee0e9 100644 --- a/recipes-devtools/go/golang-cross.inc +++ b/recipes-devtools/go/golang-cross.inc | |||
| @@ -3,7 +3,11 @@ HOMEPAGE = "golang.org" | |||
| 3 | # DEPENDS = "virtual/${TARGET_PREFIX}gcc libgcc" | 3 | # DEPENDS = "virtual/${TARGET_PREFIX}gcc libgcc" |
| 4 | DEPENDS = "libgcc" | 4 | DEPENDS = "libgcc" |
| 5 | PROVIDES = "virtual/${TARGET_PREFIX}golang" | 5 | PROVIDES = "virtual/${TARGET_PREFIX}golang" |
| 6 | SRC_URI = "http://golang.org/dl/go${PV}.src.tar.gz" | 6 | SRC_URI = "\ |
| 7 | http://golang.org/dl/go${PV}.src.tar.gz \ | ||
| 8 | file://bsd_svid_source.patch \ | ||
| 9 | " | ||
| 10 | |||
| 7 | S="${WORKDIR}/go" | 11 | S="${WORKDIR}/go" |
| 8 | 12 | ||
| 9 | do_compile () { | 13 | do_compile () { |
