aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-07-29 22:14:40 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-07-29 22:14:40 +0000
commitf6a8db477d8fe965be09176e9011f709fbe88c70 (patch)
tree64ce90d8f72b42b03a072f67905eb628dfc8366f /devel
parentcb1fa045f4d9a0df2a9fbd5b387962e6dc59130e (diff)
downloadports-f6a8db477d8fe965be09176e9011f709fbe88c70.tar.gz
ports-f6a8db477d8fe965be09176e9011f709fbe88c70.zip
MFH: r543683
devel/libcjson: fix build on GCC architectures Disable -Werror, along with other -W flags, that cause build to break with GCC (builds with Clang as well): /wrkdirs/usr/ports/devel/libcjson/work/cJSON-1.7.13/cJSON.c:559:15: error: conversion from 'double' to 'float' may change value [-Werror=float-conversion] Approved by: portmgr (fix build blanket)
Notes
Notes: svn path=/branches/2020Q3/; revision=543684
Diffstat (limited to 'devel')
-rw-r--r--devel/libcjson/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/libcjson/Makefile b/devel/libcjson/Makefile
index 637c1113d9ee..0be4544f2088 100644
--- a/devel/libcjson/Makefile
+++ b/devel/libcjson/Makefile
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c11
CMAKE_ON= BUILD_SHARED_AND_STATIC_LIBS ENABLE_CJSON_UTILS ENABLE_TARGET_EXPORT
+CMAKE_OFF= ENABLE_CUSTOM_COMPILER_FLAGS
USE_CSTD= c11
PLIST_SUB= PORTVERSION=${PORTVERSION}