[vlc-devel] commit: live555: make sure we use the compiler _and_ the CFLAGS we want to use ( fixes linking against certain OS X SDKs and using non-default compilers) ( Felix Paul Kühne )

git version control git at videolan.org
Fri Jan 2 12:50:56 CET 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jan  2 12:50:39 2009 +0100| [87e6fa635bdb5cdc367c449dedbb52269c583172] | committer: Felix Paul Kühne 

live555: make sure we use the compiler _and_ the CFLAGS we want to use (fixes linking against certain OS X SDKs and using non-default compilers)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87e6fa635bdb5cdc367c449dedbb52269c583172
---

 extras/contrib/src/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 8c29bf7..8c78eb1 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1264,7 +1264,7 @@ ifdef HAVE_WIN32
 	(cd $<;./genMakefiles mingw && make $(HOSTCC)) 
 else 
 ifdef HAVE_DARWIN_OS
-	(cd $<; sed -e 's%EXTRA_CFLAGS%$(EXTRA_CFLAGS)%' -e 's%EXTRA_LDFLAGS%$(EXTRA_LDFLAGS)%' -i.orig  config.macosx)
+	(cd $<; sed -e 's%-DBSD=1%-DBSD=1\ $(EXTRA_CFLAGS)\ $(EXTRA_LDFLAGS)%' -e 's%cc%$(CC)%'  -e 's%c++%$(CXX)%' -i.orig  config.macosx)
 	(cd $<; ./genMakefiles macosx && make)
 else
 	(cd $<; sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's%EXTRA_CPPFLAGS%-I/include%' -i.orig groupsock/Makefile.head)




More information about the vlc-devel mailing list