mpers.m4: enhance workaround for missing gnu/stubs-*.h files

Make generated empty gnu stub files available for mpers_test.sh check.

* m4/mpers.m4 (st_MPERS): Add $IFLAG to CPPFLAGS for mpers_test.sh
invocation.

Complements: v4.11~223 ("mpers.m4: workaround missing gnu/stubs-*.h files")
This commit is contained in:
Дмитрий Левин 2018-03-20 20:44:34 +00:00
parent 52af037708
commit 63080cac4d

View File

@ -122,7 +122,7 @@ case "$arch" in
AC_CACHE_CHECK([whether mpers.sh mpers_name MPERS_CFLAGS works],
[st_cv_mpers],
[if READELF="$READELF" \
CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS" \
CC="$CC" CPP="$CPP" CPPFLAGS="$CPPFLAGS $IFLAG" \
$srcdir/mpers_test.sh [$1] MPERS_CFLAGS; then
st_cv_mpers=yes
else