From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAVzt-0002t5-I7 for guix-patches@gnu.org; Thu, 11 Oct 2018 04:07:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAVzq-0003Pd-Dx for guix-patches@gnu.org; Thu, 11 Oct 2018 04:07:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gAVzq-0003PC-8x for guix-patches@gnu.org; Thu, 11 Oct 2018 04:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gAVzp-000761-Q7 for guix-patches@gnu.org; Thu, 11 Oct 2018 04:07:02 -0400 Subject: [bug#32953] [PATCH core-updates-next 7/8] gnu: cmake: Try CPATH and C_INCLUDE_PATH when finding system libraries. Resent-Message-ID: Date: Thu, 11 Oct 2018 10:06:29 +0200 From: Danny Milosavljevic Message-ID: <20181011095944.3168673c@scratchpost.org> In-Reply-To: <20181006131639.8424-7-mbakke@fastmail.com> References: <20181006131639.8424-1-mbakke@fastmail.com> <20181006131639.8424-7-mbakke@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/CEw9C0yZpElw68OjBX.N2ea"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Marius Bakke Cc: 32953@debbugs.gnu.org --Sig_/CEw9C0yZpElw68OjBX.N2ea Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Marius, On Sat, 6 Oct 2018 15:16:38 +0200 Marius Bakke wrote: > * gnu/packages/cmake.scm (cmake)[arguments]: Try both CPATH and C_INCLUDE= _PATH > instead of just the latter. Hmm... why? I thought if one used CPATH it would not treat the headers as a system headers and one would get a lot of errors anyway (because #include_next wouldn't work and also because of things one "ought" not to do which the system headers do anyway and get a pass on). --Sig_/CEw9C0yZpElw68OjBX.N2ea Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlu/BIUACgkQ5xo1VCww uqXOSQgAlytyMUn1p5OF+RgcrDYLE+pzRiDGGobAnPGFPBqTZ29JAumA+fzz2uYM 8tflefLa/qslPOxes3AQe2TY255OgaOq0lv8VpQpuIxjPI7OqTG+3QEboUI/h3FK ugUGTj5gj65T54UYOdqabf4NX0+oc0UbGKNT0S/d8/CQEQtNuqJFE5c3bCYk2/J6 a9pFso6NMzKJlIW0O2BIlRDq3hFriGQuGWUOsoHYYpnrhraNBGAG1cqReTN+eILC 8YN7fuAsTKnVLUfZm1gZSNgf5Ccomr1jlafLhpCjwDjLCzNiaTTimRMgIQthdaMe BCtFcfY9ImNMY7aofshK0Mcv5LRfPA== =b/UK -----END PGP SIGNATURE----- --Sig_/CEw9C0yZpElw68OjBX.N2ea--