Date: Fri, 29 Dec 2017 11:14:32 +0100 From: Tijl Coosemans <tijl@FreeBSD.org> To: Yuri <yuri@rawbw.com> Cc: "ports@freebsd.org" <ports@freebsd.org> Subject: Re: What to do when SCons-based project tries to open $LDFLAGS value as a file? Message-ID: <20171229111432.710bc119@kalimero.tijl.coosemans.org> In-Reply-To: <72c30f3a-1beb-5583-defd-cca6041a06bd@rawbw.com> References: <72c30f3a-1beb-5583-defd-cca6041a06bd@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Dec 2017 23:35:00 -0800 Yuri <yuri@rawbw.com> wrote: > I am getting this error from scons: >=20 >> g++6 -o lib/libtmv.so.0 " -L/usr/local/lib -fstack-protector =20 >> -Wl,-rpath=3D/usr/local/lib/gcc6 -L/usr/local/lib/gcc6" -fopenmp -shared= ... >> >> g++6: error:=C2=A0 -L/usr/local/lib -fstack-protector =20 >> -Wl,-rpath=3D/usr/local/lib/gcc6 -L/usr/local/lib/gcc6: No such file or= =20 >> directory >=20 > It tries to open LDFLAGS that were passed to it as LINKFLAGS as a file. Figure out where the double quotes come from and remove that.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171229111432.710bc119>