commit: 6b03d019ddc6da1b92b512627f4d1513ca2cb13e
parent 47a0d5f86b64a7783206894d3c82984bf3b3bb92
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 5 Jun 2020 01:23:48 -0700
binutils: Disable local return warnings
This is a false-positive. binutils asserts that the locals are not
returned.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/pkg/binutils/gen.lua b/pkg/binutils/gen.lua
@@ -8,6 +8,8 @@ local emuls = {
}
cflags{
+ '-std=c99', '-Wall', '-Wno-return-local-addr',
+ '-D _POSIX_C_SOURCE=200809L',
'-D HAVE_CONFIG_H',
'-I $srcdir/include',
'-I $outdir/bfd',