Browse Source
The libubootenv code uses some C99 constructs, but old compilers such as gcc 4.7 don't default to -std=c99. This commit makes sure libubootenv is built with -std=gnu99. Fixes: src/uboot_env.c:897:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < strlen(pval); i++) { ^ Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>pull/5/head
Pierre-Jean Texier' via swupdate
5 years ago
committed by
Stefano Babic
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue