Define HAVE_SPRR
This commit is contained in:
9
qemu/configure
vendored
9
qemu/configure
vendored
@@ -2163,13 +2163,14 @@ int main() {
|
||||
}
|
||||
EOF
|
||||
if ! compile_prog ""; then
|
||||
have_sprr='no'
|
||||
have_pthread_jit_protect='no'
|
||||
else
|
||||
$TMPE
|
||||
if [ $? -eq 0 ]; then
|
||||
have_pthread_jit_protect='yes'
|
||||
have_sprr='yes'
|
||||
else
|
||||
have_pthread_jit_protect='no'
|
||||
have_sprr='no'
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -2553,6 +2554,10 @@ if test "$have_pthread_jit_protect" = "yes" ; then
|
||||
echo "HAVE_PTHREAD_JIT_PROTECT=y" >> $config_host_mak
|
||||
fi
|
||||
|
||||
if test "$have_sprr" = "yes" ; then
|
||||
echo "HAVE_SPRR=y" >> $config_host_mak
|
||||
fi
|
||||
|
||||
# Hold two types of flag:
|
||||
# CONFIG_THREAD_SETNAME_BYTHREAD - we've got a way of setting the name on
|
||||
# a thread we have a handle to
|
||||
|
||||
Reference in New Issue
Block a user