Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2020 13:55:19 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545765 - head/lang/libobjc2
Message-ID:  <202008221355.07MDtJLx074981@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Sat Aug 22 13:55:19 2020
New Revision: 545765
URL: https://svnweb.freebsd.org/changeset/ports/545765

Log:
  lang/libobjc2: Add -fcommon to CFLAGS
  
  Fix the build of lang/libobjc2 after the llvm 11 import by adding -fcommon
  to CFLAGS.  There are several patches needed to get this to build with
  -fno-common, and I'm unsure about some of the changes I needed to make, so
  build with -fcommon for now, until upstream can have a look as well.
  
  MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)

Modified:
  head/lang/libobjc2/Makefile

Modified: head/lang/libobjc2/Makefile
==============================================================================
--- head/lang/libobjc2/Makefile	Sat Aug 22 13:22:10 2020	(r545764)
+++ head/lang/libobjc2/Makefile	Sat Aug 22 13:55:19 2020	(r545765)
@@ -28,6 +28,7 @@ PLIST_SUB+=	SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${S
 
 CMAKE_ARGS+=	-DLIB_INSTALL_PATH=lib
 CMAKE_ARGS+=	-DTESTS=OFF
+CFLAGS+=	-fcommon
 
 .include <bsd.port.pre.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008221355.07MDtJLx074981>