summaryrefslogtreecommitdiffstats
path: root/package/libhid/libhid-dont-fiddle-with-debug-flags.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-06-22 09:51:49 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-22 19:04:00 +0200
commit41f641d037e5b439aa649b542a3cbb0327a64062 (patch)
tree4ec38d9a20bfc7eddf8954b43fbfbbe295958a06 /package/libhid/libhid-dont-fiddle-with-debug-flags.patch
parentfbb3837c43802deee002db58452cbad290216275 (diff)
downloadbuildroot-41f641d037e5b439aa649b542a3cbb0327a64062.tar.gz
buildroot-41f641d037e5b439aa649b542a3cbb0327a64062.zip
libhid: fix for nommu
Make it accept uclinux in the tuple as linux. Fixes: http://autobuild.buildroot.net/results/07f/07f2a560d9915ff7bad830be11f95aa856ce0e73/ Upstream seems dead with the last commit in svn being 5+ years ago and with some recent patches in the mailing list just sitting there. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libhid/libhid-dont-fiddle-with-debug-flags.patch')
-rw-r--r--package/libhid/libhid-dont-fiddle-with-debug-flags.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/package/libhid/libhid-dont-fiddle-with-debug-flags.patch b/package/libhid/libhid-dont-fiddle-with-debug-flags.patch
deleted file mode 100644
index 139357bd46..0000000000
--- a/package/libhid/libhid-dont-fiddle-with-debug-flags.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Don't do horrible magic with CFLAGS and CXXFLAGS
-
-The purpose of the lines being removed is to suppress the
--g<something> option from the CFLAGS or CXXFLAGS, when --enable-debug
-is not used. This is stupid because it is up to the user to pass these
-flags or not.
-
-But it is not only stupid, but utterly broken: if your CFLAGS contains
-a flags like -mfloat-gprs=double, then this option gets truncated to
--mfloat simply because the option contained the -g string!
-
-Completely ridiculous piece of code, so get rid of it.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: libhid-0.2.16/m4/md_conf_debugging.m4
-===================================================================
---- libhid-0.2.16.orig/m4/md_conf_debugging.m4 2004-11-08 18:16:25.000000000 +0100
-+++ libhid-0.2.16/m4/md_conf_debugging.m4 2012-12-12 20:24:50.000000000 +0100
-@@ -1,7 +1,7 @@
- AC_DEFUN([MD_CONF_DEBUGGING],
- [
-- CFLAGS=$(echo $CFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
-- CXXFLAGS=$(echo $CXXFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
-+# CFLAGS=$(echo $CFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
-+# CXXFLAGS=$(echo $CXXFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
- MD_CHECK_ARG_ENABLE(debug,
- [
- DEBUG_FLAG=-g
OpenPOWER on IntegriCloud