svn commit: r539793 - head/cad/graywolf
Tobias Kortkamp
tobik at FreeBSD.org
Mon Jun 22 03:13:12 UTC 2020
Author: tobik
Date: Mon Jun 22 03:13:11 2020
New Revision: 539793
URL: https://svnweb.freebsd.org/changeset/ports/539793
Log:
cad/graywolf: Unbreak build with GCC 10 (-fno-common)
/usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x5e40): multiple definition of `yyss'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x5e40): first defined here
/usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x6240): multiple definition of `yyssp'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x6240): first defined here
/usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x4ea0): multiple definition of `yyvs'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x4ea0): first defined here
/usr/local/bin/ld: src/twmc/CMakeFiles/TimberWolfMC.dir/readnets.c.o:(.bss+0x6238): multiple definition of `yyvsp'; src/twmc/CMakeFiles/TimberWolfMC.dir/readcells.c.o:(.bss+0x6238): first defined here
http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/graywolf-0.1.6.3_1.log
PR: 246700
Modified:
head/cad/graywolf/Makefile
Modified: head/cad/graywolf/Makefile
==============================================================================
--- head/cad/graywolf/Makefile Mon Jun 22 02:29:01 2020 (r539792)
+++ head/cad/graywolf/Makefile Mon Jun 22 03:13:11 2020 (r539793)
@@ -24,4 +24,6 @@ USE_LDCONFIG= yes
USE_GCC= any # lots of obviously incorrect C where clang fails, which gcc nevertheless magically finds a way to compile
+CFLAGS+= -fcommon
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list