diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-04 20:48:01 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-05 03:01:44 -0700 |
| commit | d4297a13c823b62d29d9850ab5815f6c78baf35a (patch) | |
| tree | 153ebe760b69008ea6ff38d7066368d6f254b96b /pkg/wayland-protocols | |
| parent | ab438ea71e5b61956b9ad8c5b5f56e3a6c6b66c3 (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/wayland-protocols')
| -rw-r--r-- | pkg/wayland-protocols/gen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/wayland-protocols/gen.lua b/pkg/wayland-protocols/gen.lua index dbbfcd15..8dcbedb4 100644 --- a/pkg/wayland-protocols/gen.lua +++ b/pkg/wayland-protocols/gen.lua @@ -1,4 +1,4 @@ -cflags{'-I $builddir/pkg/wayland/include'} +cflags{'-isystem $builddir/pkg/wayland/include'} waylandproto('stable/presentation-time/presentation-time.xml', { client='include/presentation-time-client-protocol.h', |
