From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 5F8843858CDA for ; Tue, 10 Jan 2023 02:07:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5F8843858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id A5C8F340E0B; Tue, 10 Jan 2023 02:07:25 +0000 (UTC) Date: Mon, 9 Jan 2023 21:07:23 -0500 From: Mike Frysinger To: Stefan Tauner , newlib@sourceware.org Subject: Re: [PATCH] libgloss: arm: break newlib dependency Message-ID: References: <20221214091304.25170-1-vapier@gentoo.org> <20230104020454.22501-1-vapier@gentoo.org> <1Msq2E-1oxIJ12sOm-00t9f5@mail.gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="N6u30EDVnZR5p2MJ" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --N6u30EDVnZR5p2MJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 09 Jan 2023 11:29, Corinna Vinschen wrote: > On Jan 3 22:06, Mike Frysinger wrote: > > On 04 Jan 2023 03:17, Stefan Tauner wrote: > > > wouldn't it make sense to add the "include" directory itself to the > > > build process(es) as include directory instead of prepending it to all > > > #include statements? > >=20 > > the include/ dir has headers that conflict with standard headers like > > getopt.h. this causes build failures. >=20 > What about using -idirafter instead? that should work. newlib isn't using it today, so i didn't think we wanted to start. if you're fine with it, i can try it. -mike --N6u30EDVnZR5p2MJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmO8yFQACgkQQWM7n+g3 9YHFDA//ZhSkP8sy1BICt8UU/2KDuiwqWy0LwCNrFsDpWek/NEYinmj3zhNWks4M i8rpBDhp9Um8Ma1h1+enxVcAq0+JVS9V9C2VD7oSz2YfgGDXjEQ3k/YWw5FkzSU1 B7yujHfaI1+Sou43rSu8d9/O3M/d9vgxoWKw/eiqI3vPVIbOpyf6b2AhvtC8Y+Tj 64xzJhQdzeDF0wExyDLh+RR4Mc1eJ7CdFnk/WTO3jo1l8t+3uiFs0PEzLPdiE45H pDoI3XXp9uLeeIrohmbRmIDMnomgJ4lZDlZ7/AnIv0JOoR3UEVc59O0gQDxsGiEZ NSnW6Bqfkb96uncAV1qgvsni+W5R2WZX7UwsMoomVU9XtWznwjQy28rIIlHnkhHa VC7vsxY697KHRDk7Rd9PEparAqdVzqLeFYQiuLN6tc8pVcmcbbtz8XEP9TMSsLzh VR/Kn40QeENNDrpVhBXspEXrEHN96X1+b1QH1wyMtr4rVUUsyXHXWtd8J/2w3uVJ V5x7VMvucX+gjyS1HDKtpRjWYnjcAXZQ0GB7Krc56l8IQn4mKQSJse9ftO/6LnCi Pt+DAZgRfcdjdqA7LC/UjwtkIG4z2dJ7dz3EzlkRtFfim4VLxMDHoecLSBQ+Yuy0 OpGueuwKLCnZ/A326pmP3A925a1Gjg48r3/qrk8dYIyYY3papUQ= =HhKE -----END PGP SIGNATURE----- --N6u30EDVnZR5p2MJ--