Re: [PATCH] Makefile: make NO_ICONV really mean "no iconv"
- From
Jeff King <peff@peff.net>
- Date
- Jun 15, 2018, 06:39 UTC
- Message-ID
- <20180615063937.GA10802@sigill.intra.peff.net>
- In-Reply-To
- <CAPig+cTSirqhayBDJFZhn2HL4EMr36GHuCOYAMaCeptqFtoR=w@mail.gmail.com>
On Fri, Jun 15, 2018 at 02:30:43AM -0400, Eric Sunshine wrote:
Show 10 quoted lines
> On Fri, Jun 15, 2018 at 12:20 AM Jeff King <peff@peff.net> 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