workaround for Plasma desktop crashes on FreeBSD 13.1 (to be released)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-05-15 22:44:05 +03:00
parent fc9ad91761
commit 7d7e92a256

View file

@ -32,4 +32,11 @@ NLS_USES = gettext
NLS_CMAKE_ON = -DWITH_INTL=TRUE
NLS_CMAKE_OFF = -DWITH_INTL=FALSE
# workaround for Plasma desktop crashes, possible miss-optimization since it
# does not crash when build for debugging
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1300000
USE_GCC = yes
.endif
.include <bsd.port.mk>