[Android] Makefile: Use VLC's CFLAGS from VLC_EXTRA_CFLAGS

Edward Wang git at videolan.org
Wed Jun 27 23:47:13 CEST 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Jun 27 16:32:41 2012 -0400| [9d37bed91b4fded18f318e1b8b18e88f8fe9bf48] | committer: Edward Wang

Makefile: Use VLC's CFLAGS from VLC_EXTRA_CFLAGS

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=9d37bed91b4fded18f318e1b8b18e88f8fe9bf48
---

 Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 731f1fa..d3515d4 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,8 @@ $(LIBVLCJNI): $(JNI_SOURCES) $(LIBVLCJNI_H) $(PRIVATE_LIBS)
 		VLC_CONTRIB="$$VLC_CONTRIB" \
 		VLC_BUILD_DIR="$$VLC_BUILD_DIR" \
 		VLC_MODULES="$$vlc_modules" \
-		NDK_DEBUG=$(NDK_DEBUG)
+		NDK_DEBUG=$(NDK_DEBUG) \
+		TARGET_CFLAGS="$$VLC_EXTRA_CFLAGS"
 
 apkclean:
 	rm -f $(VLC_APK)



More information about the Android mailing list