diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-09-13 11:46:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:20:05 +0100 |
commit | cd67959c4794b132cb9fd20a2a37cf862e172bed (patch) | |
tree | dc29622f4ab64fdbc52385de3e611f4cefe30a24 /meta/recipes-graphics/piglit/piglit_git.bb | |
parent | ec33043477a0b915b0911f7d7eacb24361e4aaa8 (diff) | |
download | openembedded-core-cd67959c4794b132cb9fd20a2a37cf862e172bed.tar.gz openembedded-core-cd67959c4794b132cb9fd20a2a37cf862e172bed.tar.bz2 openembedded-core-cd67959c4794b132cb9fd20a2a37cf862e172bed.zip |
piglit: Backport linker flag patch
Use the correct build system patch instead of adding linker flags
in recipe. Also update upstream status for the other build patch.
Fixes [YOCTO #9851].
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/piglit/piglit_git.bb')
-rw-r--r-- | meta/recipes-graphics/piglit/piglit_git.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index b2ca55322f..82adcdeca1 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -6,6 +6,7 @@ SRC_URI = "git://anongit.freedesktop.org/piglit \ file://0001-cmake-install-bash-completions-in-the-right-place.patch \ file://0001-tests-Use-FE_UPWARD-only-if-its-defined-in-fenv.h.patch \ file://0001-cmake-Link-utils-with-xcb-explicitly.patch \ + file://0001-cmake-Link-test-utils-with-ldl.patch \ " # From 2016-07-07 @@ -30,8 +31,6 @@ do_compile[dirs] =+ "${B}/temp/" PACKAGECONFIG ??= "" PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," -LDFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-ldl', '', d)}" - do_configure_prepend() { if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then sed -i -e "/^#.*include <GL\/freeglut_ext.h>$/d" ${S}/src/piglit/glut_wrap.h |