[vlc-devel] [PATCH] contrib: fix building zlib under mingw

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Feb 29 19:36:05 CET 2016


On 2/26/2016 7:01 PM, Jean-Baptiste Kempf wrote:
> Because the CFLAGS are ignored there.

Uh, yes they do:

    $ export CFLAGS=-brokencrap
    $ make -fwin32/Makefile.gcc PREFIX=x86_64-w64-mingw32- CFLAGS="$CFLAGS"
    x86_64-w64-mingw32-gcc -brokencrap -c -o gzlib.o gzlib.c
    x86_64-w64-mingw32-gcc: error: unrecognized option '-brokencrap'
    make: *** [gzlib.o] Error 1

I'm not sure what you're talking about.

- Derek


More information about the vlc-devel mailing list