aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gpm
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-12-22 19:11:19 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-23 09:36:38 +0100
commitc69abe07376055e301e79d2d9f0430fd700b1c9a (patch)
tree41056e0beb66e1cc483b083795e952d9d8ee0701 /meta-oe/recipes-support/gpm
parent7f35fdb0067843e28c60251b5c50cff256b7b310 (diff)
downloadmeta-openembedded-c69abe07376055e301e79d2d9f0430fd700b1c9a.tar.gz
gpm: disable -Werror
* 1.99.7 has a lot of issues, maybe we should bump PE and go to stable 1.20.7 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gpm')
-rw-r--r--meta-oe/recipes-support/gpm/gpm_1.99.7.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
index 38cd2c3fde..a8af6ab9b7 100644
--- a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
+++ b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb
@@ -33,6 +33,11 @@ INITSCRIPT_PARAMS = "defaults"
# cc1: all warnings being treated as errors
CFLAGS += "-Wno-extra -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable"
+# twiddler is WIP in 1.99.7 and probably not worth fixing (a lot of changes in gpm-2-dev after 1.99.7
+# gpm-1.99.7/src/drivers/twid/twiddler.c:503:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
+# /gpm-1.99.7/src/mice.c:221:5: error: (near initialization for 'mice[32].init') [-Werror]
+CFLAGS += "-Wno-error=int-to-pointer-cast -Wno-error"
+
do_install () {
oe_runmake 'ROOT=${D}' install
install -m 0644 src/headers/gpm.h ${D}${includedir}