From 6b03d019ddc6da1b92b512627f4d1513ca2cb13e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 5 Jun 2020 01:23:48 -0700 Subject: binutils: Disable local return warnings This is a false-positive. binutils asserts that the locals are not returned. --- pkg/binutils/gen.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/binutils') 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', -- cgit v1.2.3