mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
Fix amalgamated release objects for older distros
We now pass -Wa,--nocompress-debug-sections to GCC so it won't use ELF compression, since that causes "unable to initialize decompress status for section .debug_aranges" when linked with past releases of binutils Please note: this issue only impacts users who download cosmopolitan.a from the website. Building from source isn't impacted, since we vendor GCC 9.2.0 and Binutils 2.32 static binaries in the third_party folder. Thanks @vshymanskyy for reporting this! See #32
This commit is contained in:
parent
45b72485ad
commit
de703b182c
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@ DEFAULT_CXXFLAGS = \
|
||||||
DEFAULT_ASFLAGS = \
|
DEFAULT_ASFLAGS = \
|
||||||
-W \
|
-W \
|
||||||
-I. \
|
-I. \
|
||||||
--noexecstack
|
--noexecstack \
|
||||||
|
--nocompress-debug-sections
|
||||||
|
|
||||||
DEFAULT_LDFLAGS = \
|
DEFAULT_LDFLAGS = \
|
||||||
-static \
|
-static \
|
||||||
|
|
Loading…
Add table
Reference in a new issue