[U-Boot] [RFC 06/10] cc-option: make it work with clang
Masahiro Yamada
yamada.m at jp.panasonic.com
Tue Jun 10 10:39:03 CEST 2014
Hi Jeroen,
On Sat, 31 May 2014 22:32:20 +0200
Jeroen Hofstee <jeroen at myspectrum.nl> wrote:
> By default clang will return echo a warning if an option is unknown.
> Therefore turn warnings into errors when polling for options.
As far as I tested with clang 3.5 on Ubuntu 14.04,
it looks different.
$ clang -fno-delete-null-pointer-checks helloworld.c
clang: error: unknown argument: '-fno-delete-null-pointer-checks'
$ echo $?
1
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list