[vlc-devel] [PATCH 12/14] configure: darwin: do not hardcode a C version

Alexandre Janniaux ajanni at videolabs.io
Fri Mar 13 10:59:15 CET 2020


Hi,

Same as before, you could mention in the commit message
that it is already handled by the m4/c11.m4 macro.

Regards,
--
Alexandre Janniaux
Videolabs

On Wed, Mar 11, 2020 at 01:37:33PM +0100, Marvin Scholz wrote:
> ---
>  configure.ac | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 72b1a8e8ed..8deec9be9f 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -171,9 +171,8 @@ case "${host_os}" in
>
>      AX_APPEND_FLAG([-D_INTL_REDIRECT_MACROS], [CPPFLAGS])
>      AX_APPEND_FLAG([-stdlib=libc++], [CXXFLAGS])
> -    CFLAGS="${CFLAGS} -std=gnu11"
> -    OBJCFLAGS="${OBJCFLAGS} -std=gnu11 -Werror=partial-availability"
>      LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names"
> +    OBJCFLAGS="${OBJCFLAGS} -Werror=partial-availability"
>      VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
>      VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation,-framework,CoreServices])
>
> --
> 2.21.1 (Apple Git-122.3)
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list