summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2021-11-21 17:38:38 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2021-11-21 19:28:46 +0000
commitfc0758237548328941fa7a9699510d6f357896ed (patch)
tree219948ee477a74f694468f9af9bc127d2471c152 /CMakeLists.txt
parent3beea10fceea4d58958aaafcdbcf1264b667613f (diff)
downloadlibarchive-fc0758237548328941fa7a9699510d6f357896ed.tar.gz
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>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions