Re: What to do when SCons-based project tries to open $LDFLAGS value as a file?

2017-12-29 Thread Yuri

On 12/29/17 02:14, Tijl Coosemans wrote:

Figure out where the double quotes come from and remove that.



This turned out to be a bug in SCons. It mishandles arguments containing 
spaces that are passed through the command line.



Yuri

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: What to do when SCons-based project tries to open $LDFLAGS value as a file?

2017-12-29 Thread Tijl Coosemans
On Thu, 28 Dec 2017 23:35:00 -0800 Yuri  wrote:
> 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.

Figure out where the double quotes come from and remove that.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


What to do when SCons-based project tries to open $LDFLAGS value as a file?

2017-12-28 Thread Yuri

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

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"