graphics/dspdfviewer: Unbreak build for Release 12.4 (1204000) and above.

This commit is contained in:
Santhosh Raju 2023-03-22 08:50:06 +01:00
parent addcd02a20
commit a4ca547fd4

View file

@ -51,7 +51,7 @@ CFLAGS+= -Wno-error=extra-semi-stmt
.endif
# Fixes build failure for Clang 11.0.0
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300111 && ${CHOSEN_COMPILER_TYPE} == clang
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1300111 || ${OSVERSION} >= 1204000) && ${CHOSEN_COMPILER_TYPE} == clang
CFLAGS+= -Wno-error=suggest-destructor-override
CFLAGS+= -Wno-error=suggest-override
.endif