From 4222811f53044ab99dafcf009ffb06c15eac9d20 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 3 Dec 2018 01:07:54 +0100 Subject: [PATCH] m4/xc-cc-check.m4: use XC_CHECK_BUILD_FLAGS (#236) Use XC_CHECK_BUILD_FLAGS instead of XC_CHECK_USER_FLAGS. Otherwise it complains of CPPFLAGS in CFLAGS. [Retrieved from: https://git.buildroot.net/buildroot/tree/package/c-ares/0001-use_check_build_instead_of_check_user.patch] Signed-off-by: Gustavo Zacarias Signed-off-by: Fabrice Fontaine Submitted by: Fabrice Fontaine --- m4/xc-cc-check.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/xc-cc-check.m4 b/m4/xc-cc-check.m4 index cd554053..777decf2 100644 --- a/m4/xc-cc-check.m4 +++ b/m4/xc-cc-check.m4 @@ -59,7 +59,7 @@ dnl Private macro. AC_DEFUN([_XC_PROG_CC], [ AC_REQUIRE([_XC_PROG_CC_PREAMBLE])dnl - AC_REQUIRE([XC_CHECK_USER_FLAGS])dnl + AC_REQUIRE([XC_CHECK_BUILD_FLAGS])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AM_PROG_CC_C_O])dnl