[vlc-commits] contrib: Correctly set CMAKE_CXX_FLAGS to CXXFLAGS

Marvin Scholz git at videolan.org
Wed Jun 19 12:58:29 CEST 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jun 19 11:34:47 2019 +0200| [0441141cad1289e3cd198c466ef5489fe73bd223] | committer: Marvin Scholz

contrib: Correctly set CMAKE_CXX_FLAGS to CXXFLAGS

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

 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 cc347b794b..417cb22816 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -549,7 +549,7 @@ endif
 endif
 ifdef HAVE_DARWIN_OS
 	echo "set(CMAKE_C_FLAGS \"$(CFLAGS) $(EXTRA_CFLAGS)\")" >> $@
-	echo "set(CMAKE_CXX_FLAGS \"$(CFLAGS) $(EXTRA_CXXFLAGS)\")" >> $@
+	echo "set(CMAKE_CXX_FLAGS \"$(CXXFLAGS) $(EXTRA_CXXFLAGS)\")" >> $@
 	echo "set(CMAKE_LD_FLAGS \"$(LDFLAGS)\")" >> $@
 	echo "set(CMAKE_AR ar CACHE FILEPATH "Archiver")" >> $@
 ifdef HAVE_IOS



More information about the vlc-commits mailing list