svn commit: r545765 - head/lang/libobjc2
Niclas Zeising
zeising at FreeBSD.org
Sat Aug 22 13:55:19 UTC 2020
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>
More information about the svn-ports-head
mailing list