Closed mnd999 closed 6 years ago
@fsbruva - could you please review the relevant changes and come up with a pull request?
@mnd999 Have you tested your proposed changes? Do you have a PR already?
No, not tested. That was off the top of my head.
Actually, perl -lne 'print $1 if /^CC=(\S+)/'
would be even better (since we depend on perl, why not use it?). Unfortunately, we haven't located perl yet at this point of the script so some reordering would be required.
Created a PR - https://github.com/Logitech/slimserver-vendor/pull/56
This was fixed.
buildme.sh
does some greps on FreeBSD to pull the C compiler overrides out ofmake.conf
. These greps are not safe:What you probably want is something like:
At present if you have anything containing CC in your
make.conf
it will screw up the build.LICENSES_ACCEPTED=SDL
is a pretty common line inmake.conf
for building logitechmediaserver, and this will produce the following confusing output as it thinks the license line is the C compiler: