trace-cmd: fix ptrace detection
authorRomain Naour <romain.naour@openwide.fr>
Wed, 30 Oct 2013 21:39:52 +0000 (22:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Oct 2013 21:39:52 +0000 (22:39 +0100)
commit9b0e9c83022deac95c85d8f7526b16e420f0b6c8
treefe4eadde90350e410682cc4b8b27b9881b8ed1ce
parent934f8222f76407115a61014cde315514d56730ca
trace-cmd: fix ptrace detection

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>
package/trace-cmd/trace-cmd-0002-Fix-ptrace-detection.patch [new file with mode: 0644]