Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure.ac: use link instead of compile for gcc flags test
The logic that tests whether gcc supports or not certain flags uses AC_COMPILE_IFELSE(). However, when checking for stack smashing protection support, an AC_LINK_IFELSE() test is needed, since the build might work but not the link stage if certain libraries are missing for proper stack smashing protection support. Therefore, this commit switches to use AC_LINK_IFELSE(). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: James Knight <james.d.knight@live.com>
- Loading branch information