Date: Thu, 22 Oct 2020 13:21:44 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r552974 - branches/2020Q4/emulators/qemu50 Message-ID: <202010221321.09MDLiOT086580@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Thu Oct 22 13:21:44 2020 New Revision: 552974 URL: https://svnweb.freebsd.org/changeset/ports/552974 Log: MFH: r552973 emulators/qemu50: fix build on GCC architectures Adding -L/usr/lib make gcc from ports prefer /usr/lib instead of its own /usr/local/lib/gcc9, which makes build fail: /usr/local/bin/ld: accel/tcg/tcg-runtime.o: in function `clrsb32': /wrkdirs/usr/ports/emulators/qemu50/work/qemu-5.0.0/include/qemu/host-utils.h:211: undefined reference to `__clrsbdi2' Tested for no breakage on 12.1/i386, 12.2/amd64 and 13.0/powerpc64. Approved by: portmgr (fix build blanket) Modified: branches/2020Q4/emulators/qemu50/Makefile Directory Properties: branches/2020Q4/ (props changed) Modified: branches/2020Q4/emulators/qemu50/Makefile ============================================================================== --- branches/2020Q4/emulators/qemu50/Makefile Thu Oct 22 13:20:56 2020 (r552973) +++ branches/2020Q4/emulators/qemu50/Makefile Thu Oct 22 13:21:44 2020 (r552974) @@ -102,7 +102,7 @@ PORTDOCS= docs index.html interop/.buildinfo interop/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CFLAGS_amd64+= -fPIC -CONFIGURE_ARGS= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ +CONFIGURE_ARGS= --localstatedir=/var \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --enable-docs --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010221321.09MDLiOT086580>