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.
This commit is contained in:
parent
d23c67a9ae
commit
de8c908376
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554806
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user