Commit 7d06389
committed
Makefile builds: do not inherit SRC from environment in big-int
In just `src/big-int` we were including `common` before defining `SRC`,
which meant a possible environment-defined value of `SRC` was being used
to construct some rules. The possible reason for having the `include`
earlier in just that file was that we were lacking a rule for `.cc`
files, the absence of which caused `make` to fail when sourcing `common`
after setting `SRC`.
Both fixes together now ensure that even an environment with `SRC` set
won't cause builds to fail in strange ways.
Fixes: #48341 parent 0985044 commit 7d06389
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | | - | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
0 commit comments