2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 18:08:23 +00:00

Repair --enable-pvs-studio on Linux.

This commit is contained in:
Todd C. Miller 2022-03-01 09:42:07 -07:00
parent 10ca59097e
commit c3177ce831
2 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@ -18081,11 +18081,11 @@ if test X"$enable_pvs_studio" = X"yes"; then
esac
# Determine platform (currently linux or macos)
case "$host_os" in
case "$host" in
x86_64-*-linux*) pvs_platform=linux64;;
*86-*-linux*) pvs_platform=linux32;;
darwin*) pvs_platform=macos;;
*) as_fn_error $? "PVS-Studio does not support $host_os." "$LINENO" 5;;
*-*-darwin*) pvs_platform=macos;;
*) as_fn_error $? "PVS-Studio does not support $host." "$LINENO" 5;;
esac
# create basic PVS-Studio.cfg file

View File

@ -2297,11 +2297,11 @@ if test X"$enable_pvs_studio" = X"yes"; then
esac
# Determine platform (currently linux or macos)
case "$host_os" in
case "$host" in
x86_64-*-linux*) pvs_platform=linux64;;
*86-*-linux*) pvs_platform=linux32;;
darwin*) pvs_platform=macos;;
*) AC_MSG_ERROR([PVS-Studio does not support $host_os.]);;
*-*-darwin*) pvs_platform=macos;;
*) AC_MSG_ERROR([PVS-Studio does not support $host.]);;
esac
# create basic PVS-Studio.cfg file