[Rpm-maint] [rpm-software-management/rpm] configure.ac: use link instead of compile for gcc flags test (#90)
notifications at github.com
Tue Sep 13 03:36:10 UTC 2016
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 at free-electrons.com>
Signed-off-by: James Knight <james.d.knight at live.com>
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* configure.ac: use link instead of compile for gcc flags test
-- File Changes --
M configure.ac (2)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint