1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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)
This commit is contained in:
Niclas Zeising 2020-08-22 13:55:19 +00:00
parent e70f656807
commit 6d32a82ea2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545765

View File

@ -28,6 +28,7 @@ PLIST_SUB+= SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
CMAKE_ARGS+= -DLIB_INSTALL_PATH=lib
CMAKE_ARGS+= -DTESTS=OFF
CFLAGS+= -fcommon
.include <bsd.port.pre.mk>