mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 10:37:45 +07:00
39f5704399
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 <jwboyer@fedoraproject.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com> Link: http://lkml.kernel.org/r/20150211162404.GA15522@hansolo.redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
test-all.c | ||
test-backtrace.c | ||
test-bionic.c | ||
test-compile.c | ||
test-cplus-demangle.c | ||
test-dwarf.c | ||
test-fortify-source.c | ||
test-glibc.c | ||
test-gtk2-infobar.c | ||
test-gtk2.c | ||
test-hello.c | ||
test-libaudit.c | ||
test-libbfd.c | ||
test-libdw-dwarf-unwind.c | ||
test-libelf-getphdrnum.c | ||
test-libelf-mmap.c | ||
test-libelf.c | ||
test-libnuma.c | ||
test-libperl.c | ||
test-libpython-version.c | ||
test-libpython.c | ||
test-libslang.c | ||
test-libunwind-debug-frame.c | ||
test-libunwind.c | ||
test-pthread-attr-setaffinity-np.c | ||
test-stackprotector-all.c | ||
test-sync-compare-and-swap.c | ||
test-timerfd.c | ||
test-zlib.c |