diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-05 01:23:48 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-05 03:11:11 -0700 |
| commit | 6b03d019ddc6da1b92b512627f4d1513ca2cb13e (patch) | |
| tree | 17f5596689d6351a03578f08e789b7303835ba67 | |
| parent | 47a0d5f86b64a7783206894d3c82984bf3b3bb92 (diff) | |
binutils: Disable local return warnings
This is a false-positive. binutils asserts that the locals are not
returned.
| -rw-r--r-- | pkg/binutils/gen.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/binutils/gen.lua b/pkg/binutils/gen.lua index 3c671b18..7dd0b539 100644 --- 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', |
