From 6fa5f88e600450e617842ea61485a74705e95b84 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 17 Aug 2017 23:37:03 -0700 Subject: Don't use -isystem This way we can use -MMD to exclude system header files and still retain dependency tracking within oasis. --- pkg/python/gen.rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/python') 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) } -- cgit v1.2.3