summaryrefslogtreecommitdiff
path: root/recipes/xorg-driver
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-02-19 00:58:57 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-19 01:00:27 +0100
commit02dedbd2d624c04ff3d80a07008274e2db12fecf (patch)
tree991926dc72d65ad0fbe04ccb88d08141fda38283 /recipes/xorg-driver
parent2613ee5ac52f1eebb6c3aab0372e93c222ae3f0b (diff)
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@gmail.com>
Diffstat (limited to 'recipes/xorg-driver')
-rw-r--r--recipes/xorg-driver/xf86-video-glamo_git.bb5
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 b1bbc9cf10..2c810a4a9c 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"