mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
omxplayer: Add patch to fix lflags and cflags
This patch fixes the following package build break: | arm-poky-linux-gnueabi-gcc is unable to create an executable file. | C compiler test failed. Change-Id: I9f0bf47e4bf969a793718e915fc6c5f4eab012bb Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master
|
||||
file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
|
||||
file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
|
||||
file://0003-Remove-strip-step-in-Makefile.patch \
|
||||
file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \
|
||||
file://fix-tar-command-with-DIST.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -30,6 +31,8 @@ export TEMPDIR = "${S}/tmp"
|
||||
export HOST = "${HOST_SYS}"
|
||||
export WORK = "${S}"
|
||||
export FLOAT = "${@bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "hard", "softfp", d)}"
|
||||
export FFMPEG_EXTRA_CFLAGS = "--sysroot=${STAGING_DIR_TARGET}"
|
||||
export FFMPEG_EXTRA_LDFLAGS = "--sysroot=${STAGING_DIR_TARGET}"
|
||||
|
||||
export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \
|
||||
-L${STAGING_DIR_HOST}/lib \
|
||||
|
||||
Reference in New Issue
Block a user