[vlc-devel] [RFC][PATCH 2/2] contrib: respect the default tools for osx
Faustino Osuna
enrique.osuna at gmail.com
Wed Dec 14 21:57:17 CET 2011
Makes perfect sense. I'm reverting the changes on my local repo.
On Wed, Dec 14, 2011 at 9:53 PM, Rafaël Carré <funman at videolan.org> wrote:
> Le Wed, 14 Dec 2011 21:35:26 +0100,
> "Faustino E. Osuna" <enrique.osuna at gmail.com> a écrit :
>
> > Use the default tools instead of explicitly setting our own.
>
> Unfortunately on OSX, those tools are not host-prefixed
>
> For example when cross compiling from intel to ppc,
> powerpc-apple-darwin9-strip
> does not exist, so autotools project using those programs would fail.
>
> I think (hope) Apple made ar/strip etc handle different architectures
> correctly, at least it should be true for intel 32/64 bits.
>
> > ---
> > contrib/src/main.mak | 4 ----
> > 1 files changed, 0 insertions(+), 4 deletions(-)
> >
> > diff --git a/contrib/src/main.mak b/contrib/src/main.mak
> > index 7d65b6d..efa791c 100644
> > --- a/contrib/src/main.mak
> > +++ b/contrib/src/main.mak
> > @@ -119,10 +119,6 @@ $(warning overring CC=$(CXX) with g++-4.2)
> > CXX=g++-4.2
> > endif
> >
> > -AR=ar
> > -LD=ld
> > -STRIP=strip
> > -RANLIB=ranlib
> > EXTRA_CFLAGS += -isysroot $(MACOSX_SDK)
> -mmacosx-version-min=$(MIN_OSX_VERSION)
> -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
> > EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK)
> -mmacosx-version-min=$(MIN_OSX_VERSION) -isysroot $(MACOSX_SDK)
> -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
> > ifeq ($(ARCH),x86_64)
>
>
>
> --
> Rafaël Carré
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111214/c7df3aca/attachment.html>
More information about the vlc-devel
mailing list