mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
graphics/dspdfviewer: fix build failure for Clang 18.1.4.
This commit is contained in:
parent
4653a5e28b
commit
039e487c77
@ -66,6 +66,11 @@ CFLAGS+= -Wno-error=bitwise-instead-of-logical
|
||||
CFLAGS+= -Wno-error=unsafe-buffer-usage
|
||||
.endif
|
||||
|
||||
# Fixes build failure for Clang 18.1.4
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500018 && ${CHOSEN_COMPILER_TYPE} == clang
|
||||
CFLAGS+= -Wno-error=switch-default
|
||||
.endif
|
||||
|
||||
# Prepare for Qt5-5.15
|
||||
CFLAGS+= -Wno-deprecated
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user