Skip to content

Commit

Permalink
Fixed build on non-English locales (#1450)
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Shchapov <[email protected]>
  • Loading branch information
phprus authored Jul 23, 2024
1 parent fd3960d commit 2360b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/compilers/GNU.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ endif()
# information is written to either stdout or stderr. To not make any
# assumptions, both are captured.
execute_process(
COMMAND ${CMAKE_CXX_COMPILER} -xc -c /dev/null -Wa,-v -o/dev/null
COMMAND ${CMAKE_COMMAND} -E env "LANG=C" ${CMAKE_CXX_COMPILER} -xc -c /dev/null -Wa,-v -o/dev/null
OUTPUT_VARIABLE ASSEMBLER_VERSION_LINE_OUT
ERROR_VARIABLE ASSEMBLER_VERSION_LINE_ERR
OUTPUT_STRIP_TRAILING_WHITESPACE
Expand Down

0 comments on commit 2360b48

Please sign in to comment.