From: Jeff King Date: Fri, 15 Jun 2018 06:39:38 GMT Subject: Re: [PATCH] Makefile: make NO_ICONV really mean "no iconv" Message-ID: <20180615063937.GA10802@sigill.intra.peff.net> In-Reply-To: On Fri, Jun 15, 2018 at 02:30:43AM -0400, Eric Sunshine wrote: > On Fri, Jun 15, 2018 at 12:20 AM Jeff King wrote: > > We have OLD_ICONV, too, which should probably do nothing if NO_ICONV is > > set. I think that works OK. We end up setting -DOLD_ICONV on the command > > line, but that's only consider inside "#ifndef NO_ICONV" within the > > code. > > Right, that was my conclusion, as well. Since it works as is, I'm not > sure suppressing -DOLD_ICONV in Makefile is worth the extra patch > noise. I can re-roll with that change too, if someone thinks it's > worthwhile, though. Nah, I was just thinking out loud. I don't think it's worth changing the Makefile (and I wouldn't be surprised if there are other "dependent" cases like this that work just fine because of the #ifdefs in the code). -Peff