[oe-commits] Khem Raj : ffmpeg_0.5.bb: On ARMv7 it needs to be compiled with -fPIC
git version control
git at git.openembedded.org
Wed Sep 8 00:21:43 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b095bd20734460c03710f19f4a38a180c5ecebc9
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b095bd20734460c03710f19f4a38a180c5ecebc9
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Sep 7 17:16:34 2010 -0700
ffmpeg_0.5.bb: On ARMv7 it needs to be compiled with -fPIC
* building non-PIC shared libraries fails under ARMv7
* Also reported here
* https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/503448
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/ffmpeg/ffmpeg_0.5.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/ffmpeg/ffmpeg_0.5.bb b/recipes/ffmpeg/ffmpeg_0.5.bb
index d24ff14..0c82100 100644
--- a/recipes/ffmpeg/ffmpeg_0.5.bb
+++ b/recipes/ffmpeg/ffmpeg_0.5.bb
@@ -2,7 +2,7 @@ require ffmpeg.inc
DEPENDS += "schroedinger libgsm"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
DEFAULT_PREFERENCE = "1"
@@ -19,6 +19,7 @@ FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -ftree-vectorize -fomit-f
BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"
+CFLAGS_append_armv7a = " -fPIC -DPIC"
EXTRA_FFCONF ?= ""
EXTRA_OECONF = " \
More information about the Openembedded-commits
mailing list