[vlc-devel] [PATCH 10/14] configure: darwin: add stdlib arg to CXXFLAGS
Steve Lhomme
robux4 at ycbcr.xyz
Wed Mar 11 14:38:09 CET 2020
On 2020-03-11 13:37, Marvin Scholz wrote:
> ---
> configure.ac | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index c6b51f88d9..988fc45126 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -170,8 +170,9 @@ case "${host_os}" in
> esac
>
> AX_APPEND_FLAG([-D_INTL_REDIRECT_MACROS], [CPPFLAGS])
> + AX_APPEND_FLAG([-stdlib=libc++], [CXXFLAGS])
> CFLAGS="${CFLAGS} -std=gnu11"
> - CXX="${CXX} -stdlib=libc++ -std=c++11"
> + CXX="${CXX} -std=c++11"
Further calls to CXX in the configure script will use the CXXFLAGS for
each tests ?
> OBJCFLAGS="${OBJCFLAGS} -std=gnu11 -Werror=partial-availability"
> LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names"
> VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
> --
> 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