[vlc-devel] [PATCH] restrict from applying gcc only flags

Rémi Denis-Courmont remi at remlab.net
Mon Jun 14 19:04:24 CEST 2010

On Mon, 14 Jun 2010 18:36:54 +0200, Francois Cartegnie <fcvlcdev at free.fr>
> testings of gcc's optimization variables against other compilers can't be
> trusted as they might just propagate them to linker, without throwing
> an error to autoconf. In the suncc case, the linker will fail later.


Can't you simply use AC_TRY_LINK instead of AC_TRY_COMPILE?

Rémi Denis-Courmont

More information about the vlc-devel mailing list