[vlc-commits] Contribs: use extra_cflags for Cmake too
Jean-Baptiste Kempf
git at videolan.org
Wed Dec 21 14:06:32 CET 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 21 14:05:26 2016 +0100| [1c5034fd3fc655d93f91ce879c5f93bb4852260f] | committer: Jean-Baptiste Kempf
Contribs: use extra_cflags for Cmake too
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c5034fd3fc655d93f91ce879c5f93bb4852260f
---
contrib/src/main.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index cab32d1..310089a 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -465,7 +465,7 @@ endif
endif
ifdef HAVE_DARWIN_OS
echo "set(CMAKE_SYSTEM_NAME Darwin)" >> $@
- echo "set(CMAKE_C_FLAGS $(CFLAGS))" >> $@
+ echo "set(CMAKE_C_FLAGS $(CFLAGS) $(EXTRA_CFLAGS))" >> $@
echo "set(CMAKE_CXX_FLAGS $(CFLAGS) $(EXTRA_CXXFLAGS))" >> $@
echo "set(CMAKE_LD_FLAGS $(LDFLAGS))" >> $@
echo "set(CMAKE_AR ar CACHE FILEPATH "Archiver")" >> $@
More information about the vlc-commits
mailing list