Date: Wed, 29 Jul 2020 22:12:52 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543683 - head/devel/libcjson Message-ID: <202007292212.06TMCqZu045208@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Jul 29 22:12:52 2020 New Revision: 543683 URL: https://svnweb.freebsd.org/changeset/ports/543683 Log: 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] MFH: 2020Q3 (fix build blanket) Modified: head/devel/libcjson/Makefile Modified: head/devel/libcjson/Makefile ============================================================================== --- head/devel/libcjson/Makefile Wed Jul 29 22:08:13 2020 (r543682) +++ head/devel/libcjson/Makefile Wed Jul 29 22:12:52 2020 (r543683) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007292212.06TMCqZu045208>