genode/libports/lib/mk/avformat.mk
Christian Helmuth bf91ea8926 Enable building libav without optimization
Some source files do not build with -O0 due to conflicting register
allocation and inline assembler constrains. We enforce optimization (O2)
for these files.

Also, I reduced the noise from warning messages induced by lazy handling
of "assignment discards ‘const’ qualifier" and "passing argument from
incompatible pointer type" in third-party sources.
2012-05-29 13:55:00 +02:00

12 lines
237 B
Makefile

include $(REP_DIR)/lib/mk/av.inc
include $(REP_DIR)/lib/import/import-avformat.mk
LIBAVFORMAT_DIR = $(REP_DIR)/contrib/$(LIBAV)/libavformat
include $(LIBAVFORMAT_DIR)/Makefile
LIBS += avcodec avutil zlib
vpath % $(LIBAVFORMAT_DIR)