Repository navigation
Commit 01470de
build: re-run configure to regenerate out/Makefile
The out/Makefile rule runs gyp directly, without -Dconfiguring_node=1
and the other arguments configure.py passes. After a gyp file or
configure.py changes, the makefiles lose -fPIE and -pie, every object
is rebuilt, and node is only a PIE if the compiler defaults to it.
config.status writes config.gypi and out/Makefile together, so list
the gyp files under config.gypi and have out/Makefile depend on it
alone. out/Makefile only re-runs config.status itself when it is
missing or not newer than config.gypi, as after make clean. Building
through make with --ninja now also regenerates build.ninja after a
gyp change.
Signed-off-by: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com>
PR-URL: #67534
Refs: #67386
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent c8f38fa commit 01470de
1 file changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
184 | 199 | | |
185 | 200 | | |
186 | 201 | | |
187 | 202 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 203 | | |
194 | 204 | | |
195 | 205 | | |
| |||
0 commit comments