Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2020 22:14:40 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r543684 - branches/2020Q3/devel/libcjson
Message-ID:  <202007292214.06TMEeNR045438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Jul 29 22:14:40 2020
New Revision: 543684
URL: https://svnweb.freebsd.org/changeset/ports/543684

Log:
  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)

Modified:
  branches/2020Q3/devel/libcjson/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/devel/libcjson/Makefile
==============================================================================
--- branches/2020Q3/devel/libcjson/Makefile	Wed Jul 29 22:12:52 2020	(r543683)
+++ branches/2020Q3/devel/libcjson/Makefile	Wed Jul 29 22:14:40 2020	(r543684)
@@ -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?202007292214.06TMEeNR045438>