[vlc-devel] [PATCH v2 1/4] Fixed contrib compiler selection on MacOS X 10.9

Maxim Bublis b at codemonkey.ru
Fri Nov 15 10:45:29 CET 2013


There is no way to write greater-than conditions in Makefile except usage
of shell commands.
I could propose usage of something like checking XCode version, which is
better then checking OS X version as absence of llvm-gcc-4.2 depends on
XCode version, not OS X one:

if [ $(xcodebuild -version | head -n 1 | sed 's/[^0-9]//g') -ge 500 ] ;
then echo "Ok"; fi

llvm-gcc-4.2 is absent starting from XCode 5.0.0

May this patch be more appropriate?


On Fri, Nov 15, 2013 at 12:58 PM, Rémi Denis-Courmont <remi at remlab.net>wrote:

> On Fri, 15 Nov 2013 12:28:26 +0400, Maxim Bublis <b at codemonkey.ru> wrote:
> > Patch has been updated to use clang only on MacOS X 10.9.
>
> So what will happen in later versions?
>
> --
> Rémi Denis-Courmont
> Sent from my collocated server
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>



-- 
Maxim Bublis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131115/40299d2d/attachment.html>


More information about the vlc-devel mailing list