Re: make -d C no-op?
Robert Elz <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
Date: Sat, 13 May 2023 12:31:58 +0200
From: [email protected]
Message-ID: <[email protected]>
| $ cd /usr/src/usr.bin/make
| $ egrep "DEBUG[1-5]?\(CWD" *
| $
| $ fgrep debug.DEBUG_CWD *
| main.c: debug.DEBUG_CWD = true;
|
| Am I right in concluding that the C flag is not implemented / a no-op?
No.
| or am I looking at the wrong place or not invoking it correctly?
You have been chasing the wrong C ... (so that is yes, looking in the
wrong place). Start in main.c:MainParseArg() look for 'C' in there.
The 'C' in MainParseArgDebug() is the 'C' that can appear after a -d
to set the debug flags, hence the "debug.DEBUG_CWD = true;".
kre