リビジョン | 4bdbfa17647409cb81bb9d5545fcced69469cdb9 (tree) |
---|---|
日時 | 2017-06-08 00:42:31 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
android: quiet some warnings
@@ -64,7 +64,7 @@ LOCAL_CFLAGS += \ | ||
64 | 64 | -O3 -std=c99 -fno-math-errno -fno-signed-zeros -fomit-frame-pointer \ |
65 | 65 | -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses \ |
66 | 66 | -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-parameter \ |
67 | - -Wno-unknown-attributes -Wno-missing-field-initializers -Wno-sign-compare \ | |
67 | + -Wno-deprecated-declarations -Wno-missing-field-initializers -Wno-sign-compare \ | |
68 | 68 | -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes \ |
69 | 69 | -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized -fPIC |
70 | 70 |
@@ -73,6 +73,7 @@ LOCAL_ASFLAGS_x86_64 := -Pconfig-x86_64.asm | ||
73 | 73 | |
74 | 74 | LOCAL_LDFLAGS := -Wl,--no-fatal-warnings -Wl,-Bsymbolic |
75 | 75 | |
76 | +LOCAL_CLANG_CFLAGS += -Wno-unknown-attributes | |
76 | 77 | LOCAL_CLANG_ASFLAGS += $(if $(filter x86,$(FFMPEG_ARCH_DIR)),,-no-integrated-as) |
77 | 78 | |
78 | 79 | LOCAL_SHARED_LIBRARIES := $($(NAME)_FFLIBS:%=lib%) |
@@ -1055,6 +1055,7 @@ TESTPROGS-$(CONFIG_SNOW_ENCODER) += snowenc | ||
1055 | 1055 | |
1056 | 1056 | TESTOBJS = dctref.o |
1057 | 1057 | |
1058 | +ifndef CONFIG_ANDROID | |
1058 | 1059 | TOOLS = fourcc2pixfmt |
1059 | 1060 | |
1060 | 1061 | HOSTPROGS = aacps_tablegen \ |
@@ -1111,3 +1112,4 @@ $(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h | ||
1111 | 1112 | $(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h |
1112 | 1113 | $(SUBDIR)sinewin_fixed.o: $(SUBDIR)sinewin_fixed_tables.h |
1113 | 1114 | endif |
1115 | +endif # CONFIG_ANDROID |