summaryrefslogtreecommitdiff
path: root/pkg/libffi/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-05 02:55:25 -0700
committerMichael Forney <mforney@mforney.org>2020-06-05 03:11:11 -0700
commit99508b4b3d987581455fcb32d89d9bff80f142df (patch)
treed31b05a474058d7a247692fbf8ed41e1beafe633 /pkg/libffi/gen.lua
parentebd25a569cffd260f62c7a3d955d11749b693cba (diff)
libffi: Disable deprecated declaration warnings
Diffstat (limited to 'pkg/libffi/gen.lua')
-rw-r--r--pkg/libffi/gen.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/libffi/gen.lua b/pkg/libffi/gen.lua
index 0ae314eb..9403d922 100644
--- a/pkg/libffi/gen.lua
+++ b/pkg/libffi/gen.lua
@@ -1,5 +1,6 @@
local arch = config.target.platform:match('[^-]*')
cflags{
+ '-Wall', '-Wno-deprecated-declarations',
'-I $dir',
'-I $outdir/include',
'-I $srcdir/include',