Skip to content
Commit 8b59dcfd authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Benjamin Cabé
Browse files

cmake: compiler: Check -fno-printf-return-value before using



GCC versions before 7.1.0 do not have the -fno-printf-return-value flag and
give an error if it is used. This patch improves compatibility with older
compilers by making CMake check for the flag's availability before using.

Signed-off-by: default avatarJoel Holdsworth <jholdsworth@nvidia.com>
parent c7bc47c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment