Build: Fix SR_CHECK_COMPILE_FLAGS
Do not put "no" into the flags if the check fails.
This commit is contained in:
parent
ba1c29dc22
commit
2d2240bb99
|
@ -288,7 +288,8 @@ do
|
||||||
test "x$sr_ccf_result" = xno || break
|
test "x$sr_ccf_result" = xno || break
|
||||||
done
|
done
|
||||||
CPPFLAGS=$sr_ccf_save_CPPFLAGS
|
CPPFLAGS=$sr_ccf_save_CPPFLAGS
|
||||||
SR_APPEND([$1], [$sr_ccf_result])
|
AS_IF([test "x$sr_ccf_result" != xno],
|
||||||
|
[SR_APPEND([$1], [$sr_ccf_result])])
|
||||||
AC_MSG_RESULT([$sr_ccf_result])
|
AC_MSG_RESULT([$sr_ccf_result])
|
||||||
AC_SUBST([$1])
|
AC_SUBST([$1])
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue