diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2025-09-10 08:52:15 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2025-09-13 11:31:38 +0000 |
commit | aacf2678b67b9c57282fcf8690b0c91791b2d2a1 (patch) | |
tree | c6f6fbac54c2511a44b363c33abcfb1a5533fe91 /lib/libc/string/wcsnlen.c | |
parent | 7f14cf603e9b312917e149386a8654bf105b04d8 (diff) |
ports.7: Fix example of passing variables on the command linestable/13
make(1)'s -D flag does not allow for setting the value of the variable.
It just defines the variable and sets its value to 1. In fact, make(1)
treats "=" as just another character in the variable name:
```
$ make -DA=2 -V A # Output is just an empty line.
$ make -DA=2 -V A=2 # Variable "A=2" is defined and set to "1".
1
```
Fixes: d25f7d324a9d ports.7: Document DEBUG_FLAGS and the process of debugging ports
MFC after: 3 days
(cherry picked from commit 9365a328596c9f156deaa15fa018b76b3a6e6b18)
Diffstat (limited to 'lib/libc/string/wcsnlen.c')
0 files changed, 0 insertions, 0 deletions