tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: multimedia/ffmpeg2 on Mac OSX v10.7.5
* On 2015-02-26 at 06:42 GMT, Brook Milligan wrote:
> On Feb 25, 2015, at 1:04 AM, David Holland wrote:
> > If the suggested options don't make it to the compiler commands
> > the package issues (if the package doesn't print those to the
> > output, check in work/.work/log), then it didn't have any effect
> > and you need to try a different hack to inject it.
>
> This is an area I am always a bit shaky about. What are the best
> ways of injecting options into the command line? As evident below,
> the DBG hack did not seem to work.
As long as the package isn't calling the compiler with its full path,
then the way to achieve this is by modifying the command line using
the wrappers, e.g.
_WRAP_EXTRA_ARGS.CC+= -g
CWRAPPERS_APPEND.cc+= -g
You can't rely on any environment variables to do this as packages are
free to ignore them (and frequently do).
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index