summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/binutils/gen.lua2
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',