summaryrefslogtreecommitdiff
path: root/pkg/tinyemu
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-04 20:48:01 -0700
committerMichael Forney <mforney@mforney.org>2020-06-05 03:01:44 -0700
commitd4297a13c823b62d29d9850ab5815f6c78baf35a (patch)
tree153ebe760b69008ea6ff38d7066368d6f254b96b /pkg/tinyemu
parentab438ea71e5b61956b9ad8c5b5f56e3a6c6b66c3 (diff)
Use -isystem to include library headers
This way, warnings from headers that come from another package (in particular linux-headers) won't show up when they get included. To make sure we still track dependencies, use -MD instead of -MMD.
Diffstat (limited to 'pkg/tinyemu')
-rw-r--r--pkg/tinyemu/gen.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/tinyemu/gen.lua b/pkg/tinyemu/gen.lua
index cf6d0aad..36239f8f 100644
--- a/pkg/tinyemu/gen.lua
+++ b/pkg/tinyemu/gen.lua
@@ -5,9 +5,9 @@ cflags{
'-D CONFIG_SLIRP',
'-D CONFIG_X86EMU',
[[-D 'CONFIG_VERSION="2019-02-10"']],
- '-I $builddir/pkg/bearssl/include',
- '-I $builddir/pkg/curl/include',
- '-I $builddir/pkg/linux-headers/include',
+ '-isystem $builddir/pkg/bearssl/include',
+ '-isystem $builddir/pkg/curl/include',
+ '-isystem $builddir/pkg/linux-headers/include',
}
pkg.deps = {