aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-05-08 23:48:05 -0700
committerSteve Kondik <steve@cyngn.com>2015-05-08 23:48:05 -0700
commit566fb12d26e7e29c0c56c059225798af8b464836 (patch)
tree861eea1a27966f37cb792c9bd4d0649bebd08e56
parent882755387c382667b26ac8c84c89cb08585239b0 (diff)
downloadandroid_external_ffmpeg-cm-12.1-old.tar.gz
android_external_ffmpeg-cm-12.1-old.tar.bz2
android_external_ffmpeg-cm-12.1-old.zip
ffmpeg: Update Android build configurationstable/cm-12.1-YOG3Ccm-12.1-old
Change-Id: I2c59c9b50553b0d33a684c1484fc377fabd38d92
-rw-r--r--android/build.mk4
-rw-r--r--android/include/libavutil/ffversion.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/android/build.mk b/android/build.mk
index cc65a0b965..70641d1285 100644
--- a/android/build.mk
+++ b/android/build.mk
@@ -95,8 +95,8 @@ LOCAL_CFLAGS += \
-Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses \
-Wno-switch -Wno-format-zero-length -Wno-pointer-sign \
-Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes \
- -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized
+ -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized -fPIC
-LOCAL_LDFLAGS := -Wl,--no-fatal-warnings
+LOCAL_LDFLAGS := -Wl,--no-fatal-warnings -Wl,-Bsymbolic
LOCAL_SHARED_LIBRARIES := $(sort $(FFLIBS-yes:%=lib%) $(FFLIBS:%=lib%))
diff --git a/android/include/libavutil/ffversion.h b/android/include/libavutil/ffversion.h
new file mode 100644
index 0000000000..3493568ed0
--- /dev/null
+++ b/android/include/libavutil/ffversion.h
@@ -0,0 +1,4 @@
+#ifndef AVUTIL_FFVERSION_H
+#define AVUTIL_FFVERSION_H
+#define FFMPEG_VERSION "8827553"
+#endif /* AVUTIL_FFVERSION_H */