Date: Thu, 22 Oct 2020 13:20:57 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552973 - head/emulators/qemu50 Message-ID: <202010221320.09MDKvli083313@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Thu Oct 22 13:20:56 2020 New Revision: 552973 URL: https://svnweb.freebsd.org/changeset/ports/552973 Log: 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. MFH: 2020Q4 (fix build blanket) Modified: head/emulators/qemu50/Makefile Modified: head/emulators/qemu50/Makefile ============================================================================== --- head/emulators/qemu50/Makefile Thu Oct 22 13:18:58 2020 (r552972) +++ head/emulators/qemu50/Makefile Thu Oct 22 13:20:56 2020 (r552973) @@ -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?202010221320.09MDKvli083313>