svn commit: r554806 - head/emulators/qemu
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Nov 10 01:28:38 UTC 2020
Author: pkubaj
Date: Tue Nov 10 01:28:38 2020
New Revision: 554806
URL: https://svnweb.freebsd.org/changeset/ports/554806
Log:
emulators/qemu: fix build on GCC architectures
Don't explicitly add -L/usr/lib, it makes gcc9 prefer /usr/lib instead of its own libraries.
Modified:
head/emulators/qemu/Makefile
Modified: head/emulators/qemu/Makefile
==============================================================================
--- head/emulators/qemu/Makefile Tue Nov 10 01:00:32 2020 (r554805)
+++ head/emulators/qemu/Makefile Tue Nov 10 01:28:38 2020 (r554806)
@@ -122,7 +122,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\" --disable-libssh \
--prefix=${PREFIX} --cc=${CC} --enable-netmap --disable-kvm \
--disable-linux-user --disable-linux-aio --disable-xen \
More information about the svn-ports-all
mailing list