Commit cc0c6a3
authored
Fix mimalloc build failure with musl and release mode
When building with mimalloc as the allocator targeting musl in release mode,
the compiler fails due to -Werror=date-time warnings caused by mimalloc's use
of __DATE__ and __TIME__ macros. This conflicts with musl's reproducible builds
requirements.
This commit adds the -Wno-error=date-time flag to the build configuration
to downgrade these specific warnings from errors to warnings. This allows
successful compilation while maintaining the functionality of mimalloc.
The change affects only musl targets in release mode and does not alter
behavior for other targets or build profiles.
Fixes compilation error: expansion of date/time macro in mimalloc with
musl + release combination.1 parent 44c72c7 commit cc0c6a3
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments