diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-25 08:06:40 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-26 16:35:50 +0200 |
commit | 6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df (patch) | |
tree | 4d27d453958611a7f236842605c406285bae5547 /arch/powerpc/cpu/mpc512x/serial.c | |
parent | e84ffddbced7620aa9fe4b9e8bfffb6a994c7b4e (diff) | |
download | u-boot-imx-6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df.zip u-boot-imx-6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df.tar.gz u-boot-imx-6262e4e74e2cdb9f231dc71c9893d4a4bd1e88df.tar.bz2 |
disable security warning flags when possible
Some toolchains enable security warning flags by default, but these don't
really make sense in the u-boot world. Such as forcing changes like:
-printf(foo);
+printf("%s", foo);
So disable the flags when the compiler supports them. Linux has already
merged a similar change in their build system.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc512x/serial.c')
0 files changed, 0 insertions, 0 deletions