• Dylan Baker's avatar
    move pthread_setaffinity_np check to the build system · 3acc18fc
    Dylan Baker authored
    Rather than trying to encode all of the rules in a header, lets just put
    them in the build system where they belong. This fixes the build on
    FreeBSD, which does have pthraed_setaffinity_np, but it's in a
    pthread_np.h, not behind _GNU_SOURCE. FreeBSD also implements cpu_set
    slightly differently, so additional changes would be required to get it
    working right there anyway.
    
    v2: - fix #define in autotools
    
    Fixes: 9f1bbbdb
           ("util: try to fix the Android and MacOS build")
    Cc: Emil Velikov <emil.velikov@collabora.com>
    Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
    Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
    3acc18fc
Name
Last commit
Last update
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...