diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-11-10 09:28:38 +0800 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-11-10 09:28:38 +0800 |
commit | de8c9083763272ad53ba1e688840ed703fbced98 (patch) | |
tree | c7ef1e7d36aab44148d2da508fbc56c5c3bd658b /emulators | |
parent | d23c67a9ae468fbd8ce9cdde09a338afb91a36d3 (diff) | |
download | freebsd-ports-gnome-de8c9083763272ad53ba1e688840ed703fbced98.tar.gz freebsd-ports-gnome-de8c9083763272ad53ba1e688840ed703fbced98.tar.zst freebsd-ports-gnome-de8c9083763272ad53ba1e688840ed703fbced98.zip |
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.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index fd6170cfb9eb..1a5fec0c05ea 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -122,7 +122,7 @@ PORTDOCS?= docs index.html interop/.buildinfo interop/* qemu-ga-ref.html qemu-ga 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 \ |