dspdfviewer: Added support for clang / clang++ builds (in FreeBSD 11.1).

This commit is contained in:
fox 2018-06-17 23:29:04 +05:30
parent 467e376270
commit c3dd9fd347
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
BUILD_MAKE_FLAGS+= VERBOSE=1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD"
CFLAGS+= -Wno-error=undefined-func-template
.endif
pre-configure:
mkdir -p ${WRKSRC}/build