Skip to content

Commit

Permalink
dev-util/promu: Disable pie for x86
Browse files Browse the repository at this point in the history
  • Loading branch information
zmedico committed Nov 22, 2023
1 parent f46ad64 commit 3134275
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-util/promu/promu-0.15.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ src_unpack() {
}

src_compile() {
if use x86; then
#917577 pie breaks build on x86
GOFLAGS=${GOFLAGS//-buildmode=pie}
fi
emake build
}

Expand Down
4 changes: 4 additions & 0 deletions dev-util/promu/promu-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ src_unpack() {
}

src_compile() {
if use x86; then
#917577 pie breaks build on x86
GOFLAGS=${GOFLAGS//-buildmode=pie}
fi
emake build
}

Expand Down

0 comments on commit 3134275

Please sign in to comment.