mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
mips* cannot use lang/gcc*, so let it use GCC 4.2 in base. Other archs may work as well but x86 won't per r422956.
24 lines
1 KiB
Makefile
24 lines
1 KiB
Makefile
--- libs.mk.orig 2017-01-12 20:27:27 UTC
|
|
+++ libs.mk
|
|
@@ -117,8 +117,8 @@ endif
|
|
$(BUILD_PFX)third_party/googletest/%.cc.o: CXXFLAGS += -Wno-missing-field-initializers
|
|
# Suppress -Wextra warnings in first party code pending investigation.
|
|
# https://bugs.chromium.org/p/webm/issues/detail?id=1069
|
|
-$(BUILD_PFX)vp8/encoder/onyx_if.c.o: CFLAGS += -Wno-unknown-warning-option -Wno-clobbered
|
|
-$(BUILD_PFX)vp8/decoder/onyxd_if.c.o: CFLAGS += -Wno-unknown-warning-option -Wno-clobbered
|
|
+$(BUILD_PFX)vp8/encoder/onyx_if.c.o: CFLAGS += -Wno-extra
|
|
+$(BUILD_PFX)vp8/decoder/onyxd_if.c.o: CFLAGS += -Wno-extra
|
|
|
|
ifeq ($(CONFIG_MSVS),yes)
|
|
CODEC_LIB=$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd)
|
|
@@ -339,8 +339,8 @@ else
|
|
$(qexec)echo 'Libs.private: -lm' >> $@
|
|
endif
|
|
$(qexec)echo 'Cflags: -I$${includedir}' >> $@
|
|
-INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc
|
|
-INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc
|
|
+INSTALL-LIBS-yes += libdata/pkgconfig/vpx.pc
|
|
+INSTALL_MAPS += libdata/pkgconfig/%.pc %.pc
|
|
CLEAN-OBJS += vpx.pc
|
|
endif
|
|
|