blob: edb388e4f142462a62159b045962740005992924 [file] [log] [blame]
Patrick Williams8b8bc412016-08-17 15:02:23 -05001From 100982ee1fc1cb571c7453d14f9acd60e67d4765 Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@windriver.com>
3Date: Sun, 25 Jan 2015 11:13:51 +0200
4Subject: [PATCH] Add FFMPEG_EXTRA_CFLAGS and FFMPEG_EXTRA_LDFLAGS
5
6In this way we can inject flags to LD and CC using
7--extra-cflags and --extra-ldflags.
8
9Upstream-Status: Inappropriate [embedded specific]
10Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
11---
12 Makefile.ffmpeg | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
16index abe4b26..c9d42d7 100644
17--- a/Makefile.ffmpeg
18+++ b/Makefile.ffmpeg
19@@ -22,7 +22,8 @@ configure:
20 CFLAGS="$(CFLAGS) ${INCLUDES}" \
21 LDFLAGS="" \
22 ./configure \
23- --extra-cflags="-mfpu=vfp -mfloat-abi=$(FLOAT) -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog" \
24+ --extra-cflags="-mfpu=vfp -mfloat-abi=$(FLOAT) -mno-apcs-stack-check -mstructure-size-boundary=32 -mno-sched-prolog $(FFMPEG_EXTRA_CFLAGS)" \
25+ --extra-ldflags="$(FFMPEG_EXTRA_LDFLAGS)" \
26 --enable-cross-compile \
27 --enable-shared \
28 --disable-static \
29--
302.1.0
31