diff options
| author | Michael Forney <mforney@mforney.org> | 2017-08-17 23:37:03 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-08-19 19:07:18 -0700 |
| commit | 6fa5f88e600450e617842ea61485a74705e95b84 (patch) | |
| tree | 3281842bd98ad65ad4b84c92f0eff9fc8a617e91 /pkg/mupdf | |
| parent | 01f3eae76b2207836d3bc1fbb4643c81d6003388 (diff) | |
Don't use -isystem
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
Diffstat (limited to 'pkg/mupdf')
| -rw-r--r-- | pkg/mupdf/gen.rc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkg/mupdf/gen.rc b/pkg/mupdf/gen.rc index f500f32c..fcffe9c6 100644 --- a/pkg/mupdf/gen.rc +++ b/pkg/mupdf/gen.rc @@ -10,12 +10,12 @@ cflags\ -D NOTO_SMALL\ -D NOCJK\ -D SHARE_JPEG\ - -isystem pkg/freetype/src/include\ - -isystem pkg/jbig2dec/src\ - -isystem '$builddir'/pkg/libjpeg-turbo/include\ - -isystem '$builddir'/pkg/zlib/include\ -I '$srcdir'/include\ - -I '$outdir' + -I '$outdir' \ + -I pkg/freetype/src/include\ + -I pkg/jbig2dec/src\ + -I '$builddir'/pkg/libjpeg-turbo/include\ + -I '$builddir'/pkg/zlib/include { toolchain host @@ -56,16 +56,16 @@ exe bin/mutool -d '$dir'/deps source/tools/^(\ file bin/mutool '$outdir'/bin/mutool 755 cc platform/x11/curl_stream.c '||' pkg/curl/headers ; with\ - cflags '$cflags -isystem $builddir/pkg/curl/include' + cflags '$cflags -I $builddir/pkg/curl/include' phony wldeps\ '$dir'/deps\ '$builddir'/pkg/libxkbcommon/fetch.stamp\ pkg/^(pixman wayland wayland-protocols)^/headers cc platform/x11/wl_main.c '||' '$dir'/wldeps ; cflags=(\ - -isystem '$builddir'/pkg/pixman/include\ - -isystem '$builddir'/pkg/wayland/include\ - -isystem '$builddir'/pkg/wayland-protocols/include\ - -isystem pkg/libxkbcommon/src\ + -I '$builddir'/pkg/pixman/include\ + -I '$builddir'/pkg/wayland/include\ + -I '$builddir'/pkg/wayland-protocols/include\ + -I pkg/libxkbcommon/src\ ) with cflags '$cflags '$"cflags exe bin/mupdf -d '$dir'/deps platform/x11/^(pdfapp.c curl_stream.c.o wl_main.c.o)\ libmupdf.a.d\ |
