[oe-commits] Martin Jansa : xf86-video-glamo: remove -pedantic as it emits warning for xserver-1. 8 and then fails because of -Werror
git version control
git at git.openembedded.org
Fri Feb 19 00:01:08 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 02dedbd2d624c04ff3d80a07008274e2db12fecf
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=02dedbd2d624c04ff3d80a07008274e2db12fecf
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Fri Feb 19 00:58:57 2010 +0100
xf86-video-glamo: remove -pedantic as it emits warning for xserver-1.8 and then fails because of -Werror
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/xorg-driver/xf86-video-glamo_git.bb | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/recipes/xorg-driver/xf86-video-glamo_git.bb b/recipes/xorg-driver/xf86-video-glamo_git.bb
index b1bbc9c..2c810a4 100644
--- a/recipes/xorg-driver/xf86-video-glamo_git.bb
+++ b/recipes/xorg-driver/xf86-video-glamo_git.bb
@@ -8,6 +8,11 @@ PV = "1.0.0+gitr${SRCREV}"
PE = "1"
PR = "r3"
+do_configure_prepend() {
+ # pedantic emits warning about GCC extension used in xserver header file edid.h (from version 1.8) and because of -Werror it fill fail
+ sed -i 's/ -pedantic / /g' ${S}/src/Makefile.am
+}
+
RDEPENDS = "xserver-xorg-extension-dri xserver-xorg-extension-dri2 xserver-xorg-extension-glx mesa-dri"
DEPENDS += "libdrm"
More information about the Openembedded-commits
mailing list