[vlc-devel] [PATCH 10/14] configure: darwin: add stdlib arg to CXXFLAGS
Marvin Scholz
epirat07 at gmail.com
Wed Mar 11 15:32:39 CET 2020
On 11 Mar 2020, at 14:38, Steve Lhomme wrote:
> 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 ?
>
Yes
>> 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
>>
> _______________________________________________
> 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