mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
security/authenticator: fix build on armv7
This avoids an address space exhaustion due to LTO. Approved by: portmgr (build fix blanket) MFH: 2025Q1
This commit is contained in:
parent
99307fa7af
commit
b41f00fa8b
1 changed files with 8 additions and 1 deletions
|
@ -29,6 +29,13 @@ CARGO_INSTALL= no
|
|||
CARGO_TEST= no
|
||||
GLIB_SCHEMAS= com.belmoussaoui.Authenticator.gschema.xml
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH:Marmv?}
|
||||
LTO_UNSAFE= yes
|
||||
CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/gstreamer.*bad/d' \
|
||||
${WRKSRC}/meson.build
|
||||
|
@ -36,4 +43,4 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e "/cargo_options =/s/ '--/&verbose', &verbose', &/" \
|
||||
${WRKSRC}/src/meson.build
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue