Thomas Petazzoni
d7edeba79b
tools/Makefile: build host tools with -std=gnu99
...
Parts of the code are using C99 constructs (such as variables declared
inside loops), but also GNU extensions (such as typeof), so using
-std=gnu99 is necessary to build with older versions of gcc that don't
default to building with gnu99.
It fixes the following build failure:
./tools/../lib/crc16.c: In function "crc16_ccitt":
./tools/../lib/crc16.c:70:2: error: "for" loop initial declarations are only allowed in C99 mode
for (int i = 0; i < len; i++)
^
./tools/../lib/crc16.c:70:2: note: use option -std=c99 or -std=gnu99 to compile your code
when building the host tools with gcc 4.7.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com >
2019-04-03 10:26:46 -04:00
..
2018-11-20 19:14:22 -07:00
2019-02-09 12:50:22 -07:00
2018-10-08 07:34:34 -06:00
2019-01-26 08:13:56 -05:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:20:34 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-31 08:53:11 -04:00
2018-05-31 08:53:11 -04:00
2018-05-07 09:34:12 -04:00
2018-10-08 07:34:34 -06:00
2016-06-13 07:46:29 +09:00
2018-11-26 13:57:28 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2017-10-16 09:42:51 -04:00
2018-07-10 16:56:00 -04:00
2019-02-01 14:13:46 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-06-19 07:31:44 -04:00
2018-11-26 22:52:12 -05:00
2018-05-07 09:34:12 -04:00
2019-03-08 11:31:44 -05:00
2019-03-08 11:31:44 -05:00
2019-03-22 12:15:07 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-30 07:18:49 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:35 -04:00
2018-05-07 09:34:12 -04:00
2018-12-03 10:44:10 -05:00
2019-03-08 11:31:44 -05:00
2019-03-08 11:31:44 -05:00
2017-06-16 10:11:38 -04:00
2019-01-28 12:59:03 +01:00
2019-01-01 14:12:18 +01:00
2019-01-01 14:12:18 +01:00
2019-01-01 14:12:18 +01:00
2018-07-23 11:04:22 +02:00
2018-09-11 08:32:55 -04:00
2019-02-09 07:51:01 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-19 08:59:26 +02:00
2018-05-07 09:34:12 -04:00
2019-04-03 10:26:46 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-11-02 22:39:07 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-03-08 11:31:44 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-02-09 07:50:54 -05:00
2018-05-07 09:34:12 -04:00
2018-12-15 11:49:56 -05:00
2018-11-28 23:04:43 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 10:24:31 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-04 22:55:47 +02:00
2018-01-28 12:27:30 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-03 12:56:50 +02:00
2018-05-07 10:24:31 -04:00
2017-05-05 16:45:57 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:20:34 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-01-24 10:03:44 +01:00
2018-05-11 09:23:44 +02:00
2018-05-11 14:54:57 -04:00