Date: Sat, 29 Aug 2020 02:11:27 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r546864 - branches/2020Q3/emulators/simh-hp2100/files Message-ID: <202008290211.07T2BR8i023178@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Sat Aug 29 02:11:27 2020 New Revision: 546864 URL: https://svnweb.freebsd.org/changeset/ports/546864 Log: MFH: r546863 emulators/simh-hp2100: fix the build with LLVM 11 This patch adds -fcommon to the build flags to fix the build with LLVM 11, which now defaults to -fno-common. PR: 248871 Approved by: ports-secteam (implicit, -fno-common build fix) Added: branches/2020Q3/emulators/simh-hp2100/files/patch-SCP_makefile - copied unchanged from r546863, head/emulators/simh-hp2100/files/patch-SCP_makefile Modified: Directory Properties: branches/2020Q3/ (props changed) Copied: branches/2020Q3/emulators/simh-hp2100/files/patch-SCP_makefile (from r546863, head/emulators/simh-hp2100/files/patch-SCP_makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q3/emulators/simh-hp2100/files/patch-SCP_makefile Sat Aug 29 02:11:27 2020 (r546864, copy of r546863, head/emulators/simh-hp2100/files/patch-SCP_makefile) @@ -0,0 +1,17 @@ +--- SCP/makefile.orig 2020-08-23 21:51:23 UTC ++++ SCP/makefile +@@ -532,10 +532,12 @@ ifneq ($(DONT_USE_READER_THREAD),) + endif + + +-# Shut up annoying clang default warnings. ++# Shut up annoying clang default warnings, and also fix ++# multiply defined symbols on clang 11 and above + +-ifeq ($(GCC),clang) ++ifeq ($(findstring clang,$(COMPILER_NAME)),clang) + OS_CCDEFS += -Wno-parentheses -Wno-bitwise-op-parentheses -Wno-dangling-else ++ CFLAGS_O += -fcommon + endif + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008290211.07T2BR8i023178>