games-puzzle/aaaaxy: remove -Werror from deps

Closes: https://bugs.gentoo.org/887305
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
Nicola Smaniotto 2023-02-27 13:02:55 +01:00
parent 0d154d51a4
commit 62ca6782c1
No known key found for this signature in database
GPG Key ID: C44BA4D73A21E89F
3 changed files with 21 additions and 0 deletions

View File

@ -34,6 +34,13 @@ BDEPEND="
x11-libs/libXxf86vm
"
src_prepare() {
eapply_user
# some dependencies use -Werror
find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror"
}
src_configure() {
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
}

View File

@ -34,6 +34,13 @@ BDEPEND="
x11-libs/libXxf86vm
"
src_prepare() {
eapply_user
# some dependencies use -Werror
find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror"
}
src_configure() {
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
}

View File

@ -34,6 +34,13 @@ BDEPEND="
x11-libs/libXxf86vm
"
src_prepare() {
eapply_user
# some dependencies use -Werror
find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror"
}
src_configure() {
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
}