Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2020 01:28:38 +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: r554806 - head/emulators/qemu
Message-ID:  <202011100128.0AA1ScnE098634@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011100128.0AA1ScnE098634>