From: Josh Boyer Date: Wed, 11 Feb 2015 16:24:05 +0000 (-0500) Subject: perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check X-Git-Tag: omap-for-v4.1/fixes-rc1~156^2~66^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39f5704399042fff5f0d5f6af32bbbc3e787a897;p=pandora-kernel.git perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check The man page for pthread_attr_set_affinity_np states that _GNU_SOURCE must be defined before pthread.h is included in order to get the proper function declaration. Define this in the Makefile. Without this defined, the feature check fails on a Fedora system with gcc5 and then the perf build later fails with conflicting prototypes for the function. Signed-off-by: Josh Boyer Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Vineet Gupta Link: http://lkml.kernel.org/r/20150211162404.GA15522@hansolo.redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed