diff options
| author | Ron Yorston <rmy@pobox.com> | 2024-02-16 12:06:15 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2024-02-16 12:06:15 +0000 |
| commit | 0200baa675d3b51c0f021da7728353ee7ceedba4 (patch) | |
| tree | 2c60bea606dc2d2f0976f158de977c1babd0384a /miscutils | |
| parent | a4bb355732f2902b936368b644fa08518ecce55a (diff) | |
| download | busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.gz busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.tar.bz2 busybox-w32-0200baa675d3b51c0f021da7728353ee7ceedba4.zip | |
build system: avoid full rebuild when EXTRAVERSION changes
The last two commits allow EXTRAVERSION to track the current state
of a git repository. The build system was unable to determine
which files were affected by changes to EXTRAVERSION and caused
a full rebuild when it changed.
Alter how the version information is passed to the code so only
a handful of files need to be rebuilt when it changes.
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/bc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index a82646674..31485ae9c 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
| @@ -203,6 +203,9 @@ | |||
| 203 | 203 | ||
| 204 | #include "libbb.h" | 204 | #include "libbb.h" |
| 205 | #include "common_bufsiz.h" | 205 | #include "common_bufsiz.h" |
| 206 | #if ENABLE_PLATFORM_MINGW32 | ||
| 207 | # include "BB_VER.h" | ||
| 208 | #endif | ||
| 206 | 209 | ||
| 207 | #if !ENABLE_BC && !ENABLE_FEATURE_DC_BIG | 210 | #if !ENABLE_BC && !ENABLE_FEATURE_DC_BIG |
| 208 | # include "dc.c" | 211 | # include "dc.c" |
