genode/libports/lib/mk/avcodec.inc
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
217 B
PHP

include $(REP_DIR)/lib/mk/av.inc
include $(REP_DIR)/lib/import/import-avcodec.mk
LIBAVCODEC_DIR = $(REP_DIR)/contrib/$(LIBAV)/libavcodec
include $(LIBAVCODEC_DIR)/Makefile
LIBS += zlib
vpath % $(LIBAVCODEC_DIR)