mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
linux-pam raises the following build failure with gcc 4.8 since bump to version 1.5.3 in commitf8147e27cdand8f9816b57e: pam_access.c: In function 'pam_sm_authenticate': pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; filename_list[i] != NULL; i++) { ^ Those build failures could be fixed by adding -std=c99 but then the build will fails because stdadtomic.h is mandatory sincea35e092e24Fixes: - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit c77e25c3f113c44d753dec308334e52e4c0bec6c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>