summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-22 13:55:19 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-22 13:55:19 +0000
commit6d32a82ea2b70fe8c37f6f2a1b98a7799e97c483 (patch)
tree6ee1127ea662e90f5d0e26bc886e72c1c010f5a7
parent- fix build with -fno-common (diff)
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)
Notes
Notes: svn path=/head/; revision=545765
-rw-r--r--lang/libobjc2/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile
index f6e197966e89..8901cbfdd471 100644
--- a/lang/libobjc2/Makefile
+++ b/lang/libobjc2/Makefile
@@ -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>