Commit 338e1b2
committed
Implement FR #77230: Support custom CFLAGS and LDFLAGS from environment
While it is already possible to *set* CFLAGS and LDFLAGS (actually all variables) from the environment for `nmake` (by passing the `/E` option), it is not possible to *add* any (C|LD)FLAGS, which can be useful in some cases. Instead of allowing this for `nmake`, we add support for additional custom (C|LD)FLAGS to `configure`, similar to how that works on Linux, so one could actually write: ```` set CFLAGS=foo & set LDFLAGS=bar & configure ```` This also allows us to use these flags during configure.1 parent 98b6330 commit 338e1b2
3 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
571 | 574 | | |
572 | 575 | | |
573 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| |||
3207 | 3211 | | |
3208 | 3212 | | |
3209 | 3213 | | |
| 3214 | + | |
| 3215 | + | |
3210 | 3216 | | |
3211 | 3217 | | |
3212 | 3218 | | |
| |||
3218 | 3224 | | |
3219 | 3225 | | |
3220 | 3226 | | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
3221 | 3231 | | |
3222 | 3232 | | |
3223 | 3233 | | |
| |||
3368 | 3378 | | |
3369 | 3379 | | |
3370 | 3380 | | |
| 3381 | + | |
| 3382 | + | |
3371 | 3383 | | |
3372 | 3384 | | |
3373 | 3385 | | |
| |||
3376 | 3388 | | |
3377 | 3389 | | |
3378 | 3390 | | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
3379 | 3395 | | |
3380 | 3396 | | |
3381 | 3397 | | |
| |||
0 commit comments