]> git.ipfire.org Git - thirdparty/libarchive.git/commit
autotools: enable -fdata/function-sections and --gc-sections 1625/head
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Nov 2021 17:38:38 +0000 (17:38 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 21 Nov 2021 19:28:46 +0000 (19:28 +0000)
commitfc0758237548328941fa7a9699510d6f357896ed
tree219948ee477a74f694468f9af9bc127d2471c152
parent3beea10fceea4d58958aaafcdbcf1264b667613f
autotools: enable -fdata/function-sections and --gc-sections

Analogue to the parent cmake commit, with linker flag detection.

The former two split the functions and data into separate sections
within the object file. Which makes it easier for the latter to properly
garbage collect and discard unused sections.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Makefile.am
configure.ac