Created attachment 217397 [details]
Patch for Makefile
simh does not build on LLVM 11. This is due to the default setting of -fno-common (previously -fcommon).
The upstream code depends on weak globals, so the fix is simply to provide -fcommon as part of CFLAGS.
Tested on 13-CURRENT and latest ports tree, using LLVM11 from ports.
This is a backward compatible fix.
^Triage: [tags] in issue Titles are deprecated.
^Triage: Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval.
Attachment -> Details -> maintainer-approval [+]