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/python/gen.rc | |
| 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/python/gen.rc')
| -rw-r--r-- | pkg/python/gen.rc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/python/gen.rc b/pkg/python/gen.rc index 6f048d31..f5c91c6b 100644 --- a/pkg/python/gen.rc +++ b/pkg/python/gen.rc @@ -128,22 +128,22 @@ libs=() deps=() if(grep -q '^_ctypes' Setup) { - cflags=($cflags -isystem '$builddir'/pkg/libffi/include) + cflags=($cflags -I '$builddir'/pkg/libffi/include) deps=($deps pkg/libffi/headers) libs=($libs libffi/libffi.a) } if(grep -qE '^(_hashlib|_ssl)' Setup) { - cflags=($cflags -isystem '$builddir'/pkg/libressl/include) + cflags=($cflags -I '$builddir'/pkg/libressl/include) deps=($deps pkg/libressl/headers) libs=($libs (libressl/^(libssl.a libcrypto.a) openbsd/libbsd.a)) } if(grep -q '^pyexpat' Setup) { - cflags=($cflags -isystem '$builddir'/pkg/expat/include) + cflags=($cflags -I '$builddir'/pkg/expat/include) deps=($deps pkg/expat/headers) libs=($libs expat/libexpat.a.d) } if(grep -q '^zlib' Setup) { - cflags=($cflags -isystem '$builddir'/pkg/zlib/include) + cflags=($cflags -I '$builddir'/pkg/zlib/include) deps=($deps pkg/zlib/headers) libs=($libs zlib/libz.a) } |
