diff options
author | James Zern <jzern@google.com> | 2019-06-04 14:45:36 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2019-06-04 21:57:47 +0000 |
commit | cb704b95e3b00f6a2059441ab50596648458600e (patch) | |
tree | 13ad9acad69ddecb26ddc385e0b830a0a819aa20 /examples.mk | |
parent | 54abc9bade46e1e9532e1e984489bb6abdec74b0 (diff) | |
download | libvpx-cb704b95e3b00f6a2059441ab50596648458600e.tar libvpx-cb704b95e3b00f6a2059441ab50596648458600e.tar.gz libvpx-cb704b95e3b00f6a2059441ab50596648458600e.tar.bz2 libvpx-cb704b95e3b00f6a2059441ab50596648458600e.zip |
configure: test -Wno-* flags used with libyuv
with g++ this avoids:
command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but
not for C++
the flag is necessary with clang.
BUG=webm:1584
Change-Id: I250c76483302d913999e5f9e0d09ee6449b052df
Diffstat (limited to 'examples.mk')
-rw-r--r-- | examples.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples.mk b/examples.mk index 208708af7..758ca7f88 100644 --- a/examples.mk +++ b/examples.mk @@ -77,9 +77,7 @@ vpxdec.SRCS += tools_common.c tools_common.h vpxdec.SRCS += y4menc.c y4menc.h ifeq ($(CONFIG_LIBYUV),yes) vpxdec.SRCS += $(LIBYUV_SRCS) - $(BUILD_PFX)third_party/libyuv/%.cc.o: CXXFLAGS += -Wno-unused-parameter - $(BUILD_PFX)third_party/libyuv/%.cc.o: CXXFLAGS += -Wno-missing-declarations - $(BUILD_PFX)third_party/libyuv/%.cc.o: CXXFLAGS += -Wno-missing-prototypes + $(BUILD_PFX)third_party/libyuv/%.cc.o: CXXFLAGS += ${LIBYUV_CXXFLAGS} endif ifeq ($(CONFIG_WEBM_IO),yes) vpxdec.SRCS += $(LIBWEBM_COMMON_SRCS) |