Masahiro Yamada
3bed1b7b9d
kbuild: use -S instead of -E for precise cc-option test in Kconfig
...
Currently, -E (stop after the preprocessing stage) is used to check
whether the given compiler flag is supported.
While it is faster than -S (or -c), it can be false-positive. You need
to run the compilation proper to check the flag more precisely.
For example, -E and -S disagree about the support of
"--param asan-instrument-allocas=1".
$ gcc -Werror --param asan-instrument-allocas=1 -E -x c /dev/null -o /dev/null
$ echo $?
0
$ gcc -Werror --param asan-instrument-allocas=1 -S -x c /dev/null -o /dev/null
cc1: error: invalid --param name ‘asan-instrument-allocas’; did you mean ‘asan-instrument-writes’?
$ echo $?
1
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-01-22 11:04:28 +09:00
..
2019-06-25 10:17:07 +02:00
2019-08-29 23:54:29 +09:00
2019-10-17 09:05:56 -07:00
2019-11-04 11:21:07 -06:00
2020-01-02 13:30:14 -08:00
2019-11-06 08:47:50 -08:00
2019-09-14 11:40:13 +09:00
2020-01-07 02:18:39 +09:00
2017-03-28 16:16:52 +02:00
2020-01-16 00:26:22 +09:00
2020-01-22 00:56:48 +09:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:39 -07:00
2019-11-11 20:07:03 +09:00
2019-07-18 02:19:31 +09:00
2019-05-24 17:27:11 +02:00
2018-07-18 01:18:05 +09:00
2018-12-28 12:11:44 -08:00
2019-06-05 17:37:11 +02:00
2019-10-20 18:21:21 -07:00
2018-06-28 13:36:39 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:39 -07:00
2019-12-09 11:48:21 -08:00
2019-06-05 02:33:10 +09:00
2019-02-19 21:27:53 +01:00
2017-11-02 11:10:55 +01:00
2019-03-04 22:34:54 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 08:58:56 +09:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:36:42 +02:00
2016-10-11 15:06:30 -07:00
2019-07-12 11:05:41 -07:00
2018-12-28 12:11:44 -08:00
2018-09-09 09:14:07 +09:00
2017-11-02 11:10:55 +01:00
2019-06-14 14:43:01 -06:00
2019-09-10 10:30:21 +02:00
2019-06-05 17:37:07 +02:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2018-11-18 10:15:09 -08:00
2018-03-26 02:01:24 +09:00
2017-10-23 08:01:37 -06:00
2019-01-06 09:46:51 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-04 22:35:04 +09:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2019-07-27 12:18:19 +09:00
2018-12-01 23:13:14 +09:00
2019-06-21 16:58:37 +02:00
2019-05-24 17:36:45 +02:00
2019-12-04 19:44:12 -08:00
2019-05-30 11:26:39 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-21 21:05:21 +09:00
2016-02-26 15:30:20 +00:00
2019-11-22 10:35:18 -07:00
2019-12-14 15:53:04 +09:00
2020-01-16 00:26:22 +09:00
2020-01-22 11:04:28 +09:00
2019-11-07 13:17:24 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:39 -07:00
2017-11-02 11:10:55 +01:00
2020-01-07 02:18:39 +09:00
2019-11-11 20:07:03 +09:00
2019-03-17 12:56:32 +09:00
2020-01-07 02:18:38 +09:00
2019-08-29 23:54:29 +09:00
2017-11-14 18:25:40 -08:00
2019-09-09 23:55:43 +09:00
2019-03-04 09:29:41 -08:00
2019-11-15 00:23:10 +09:00
2019-09-04 23:12:50 +09:00
2019-08-15 13:24:04 +01:00
2019-05-21 10:50:46 +02:00
2020-01-07 02:18:39 +09:00
2019-08-22 01:14:11 +09:00
2019-07-17 22:39:27 +09:00
2020-01-16 01:18:35 +09:00
2019-07-17 22:39:27 +09:00
2019-11-11 20:10:01 +09:00
2019-05-06 11:12:09 -07:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:10 +02:00
2019-12-14 15:53:04 +09:00
2019-08-29 23:54:29 +09:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2019-07-17 22:39:27 +09:00
2019-10-05 15:29:49 +09:00
2019-11-11 20:10:01 +09:00
2019-05-30 11:29:23 -07:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-31 12:19:40 -04:00
2019-10-12 20:49:33 -04:00
2019-05-30 11:26:39 -07:00
2019-11-11 20:10:01 +09:00
2019-06-05 17:37:17 +02:00
2017-02-10 12:43:47 +11:00
2019-06-05 17:37:10 +02:00
2019-06-05 17:37:10 +02:00
2018-12-28 12:11:44 -08:00
2019-06-01 15:51:31 -07:00
2019-12-01 06:29:17 -08:00
2019-11-07 13:17:24 -07:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-05 08:12:09 -06:00
2019-07-11 00:05:09 +09:00
2019-11-13 10:52:05 +00:00
2018-11-30 14:45:01 -08:00
2019-11-11 20:10:01 +09:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00