diff options
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/yq/yq_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb index ac19f2c4..759cd616 100644 --- a/recipes-devtools/yq/yq_git.bb +++ b/recipes-devtools/yq/yq_git.bb | |||
| @@ -35,6 +35,10 @@ GO_MOD_DISCOVERY_GIT_REF = "${SRCREV_yq}" | |||
| 35 | inherit go goarch ptest | 35 | inherit go goarch ptest |
| 36 | inherit go-mod-discovery | 36 | inherit go-mod-discovery |
| 37 | 37 | ||
| 38 | # GO's internal linker doesn't support PIE for linux 32 bits target, | ||
| 39 | # so -buildmode=pie requires external (cgo) linking on ARM and x86. | ||
| 40 | GOBUILDFLAGS:remove = "-buildmode=pie" | ||
| 41 | |||
| 38 | do_compile() { | 42 | do_compile() { |
| 39 | cd ${S}/src/import | 43 | cd ${S}/src/import |
| 40 | 44 | ||
