]> git.ipfire.org Git - thirdparty/kmod.git/commit
from systemd: build: check for build/link flags harder
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 13 Sep 2013 10:42:12 +0000 (12:42 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 25 Feb 2015 01:41:30 +0000 (22:41 -0300)
commit779729cf535549bfd687227da2385b607cc31a61
treeb6cc239e2e8bfeeb3edca5af0394fff6d39ec546
parentc619d8920852c39ea4ec8564b8ba83f1c10898f2
from systemd: build: check for build/link flags harder

Use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE to test for flags that
might succeed during compilation but not during linking. An example is gcc
compiled with libssp support but gnu-ld without it. In this case
-fstack-protector works fine during compilation but fails during linking
as several internal helpers are missing.
m4/attributes.m4