svn commit: r552974 - branches/2020Q4/emulators/qemu50
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Oct 22 13:21:45 UTC 2020
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 \
More information about the svn-ports-all
mailing list