Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 2017 23:35:00 -0800
From:      Yuri <yuri@rawbw.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   What to do when SCons-based project tries to open $LDFLAGS value as a file?
Message-ID:  <72c30f3a-1beb-5583-defd-cca6041a06bd@rawbw.com>

next in thread | raw e-mail | index | archive | help
I am getting this error from scons:

 > g++6 -o lib/libtmv.so.0 " -L/usr/local/lib -fstack-protector 
-Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6" -fopenmp -shared ...

 > g++6: error:  -L/usr/local/lib -fstack-protector 
-Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6: No such file or 
directory

It tries to open LDFLAGS that were passed to it as LINKFLAGS as a file.


Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72c30f3a-1beb-5583-defd-cca6041a06bd>