PATCH: make tools/makedep.c ignore -D options

Gerald Pfeifer gerald at pfeifer.com
Wed Feb 18 17:06:27 CST 2004


On Tue, 17 Feb 2004, Gerald Pfeifer wrote:
> In the past months, I have received at least two very weird (and
> originally hard to debug) bug reports, as some other Tools used by Wine
> (notably arts) and/or users sometimes set -D... options as part of the
> INCLUDE variable.
>
> This patch works around that, by simply ignoring -D options.

And in fact, as I've just been told, this *is* a genuine Wine bug!

  Wine uses the output of 'artsc-config --cflags' and expects it to
  exclusively contain -I statements (and possibly "-pthread", which it
  filters out via sed in configure).

So indeed my patch works around a bug in Wine.

Gerald
-- 
Gerald Pfeifer (Jerry)   gerald at pfeifer.com   http://www.pfeifer.com/gerald/



More information about the wine-patches mailing list