[vlc-devel] [PATCH] configure: restrict from applying gcc only flags to other compilers.

Rémi Denis-Courmont remi at remlab.net
Fri Mar 2 07:52:26 CET 2012

On Fri,  2 Mar 2012 02:21:24 +0100, Francois Cartegnie <fcvlcdev at free.fr>
> Applying gcc's optimizations to other compilers lead to undefined
> behavior.
> In the suncc case, the build will fail later because of default
> propagation of unknown flags to the linker.

I'm not that interested in cluttering the already highly bloated configure
script with optimization flags for non-GCC compilers. If you don't use the
default compiler, you can set your own CFLAGS to configure anyway.

Rémi Denis-Courmont

More information about the vlc-devel mailing list