diff options
| author | Santhosh Raju <fox@FreeBSD.org> | 2024-08-04 17:42:03 +0000 |
|---|---|---|
| committer | Santhosh Raju <fox@FreeBSD.org> | 2024-08-11 05:25:08 +0000 |
| commit | cb53289b53cc2914c305d93eb2e75129fafea719 (patch) | |
| tree | 101eec3fd8075a7d98c1a5e88be32b55ed850f05 | |
| parent | 5c7599f2fa0a38ab64b01c9bfe146d899d39fec0 (diff) | |
| -rw-r--r-- | graphics/dspdfviewer/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile index 2fae98627929..1386d1fdcce0 100644 --- a/graphics/dspdfviewer/Makefile +++ b/graphics/dspdfviewer/Makefile @@ -62,12 +62,12 @@ CFLAGS+= -Wno-error=bitwise-instead-of-logical .endif # Fixes build failure for Clang 16.0.6 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400059 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) && ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-error=unsafe-buffer-usage .endif # Fixes build failure for Clang 18.1.4 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500018 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1401000 || ${OSVERSION} >= 1500018) && ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -Wno-error=switch-default .endif |
