summaryrefslogtreecommitdiffstats
path: root/package/trace-cmd/trace-cmd-0002-Fix-ptrace-detection.patch
Commit message (Collapse)AuthorAgeFilesLines
* package/trace-cmd: bump to version 2.3.2Romain Naour2014-06-081-36/+0
| | | | | | | | | | | | | | | | | The first patch "use-pkg-config-instead-of-python-config" has been applied upstream. The flag _GNU_SOURCE is now always defined in Makefile, so it can be removed from trace-cmd.mk CPPFLAGS are appended to CFLAGS and are used to add extra flags, but the flag _LARGEFILE64_SOURCE in TARGET_CPPFLAGS is already defined in source files, which causes a build error. As for CFLAGS, we fix this by filtering out our definition of _LARGEFILE64_SOURCE from the CPPFLAGS before passing them to the trace-cmd Makefile. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* trace-cmd: fix ptrace detectionRomain Naour2013-10-301-0/+36
Ptrace support detection is ignored when CFLAGS is set by buildroot. Use override in Makefile to add -DWARN_NO_PTRACE and -DNO_PTRACE in CFLAGS if ptrace is not available. Fixes: http://autobuild.buildroot.net/results/60e/60ed317d52d93ba2c087aa6ff4f422d760806d89// Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud