summaryrefslogtreecommitdiff
path: root/lang/python/python-contextlib2
diff options
context:
space:
mode:
authorVan Waholtz <vanwaholtz@gmail.com>2020-10-14 23:31:56 -0700
committerVan Waholtz <vanwaholtz@gmail.com>2020-10-17 06:17:14 -0700
commiteaa201b7746224d9b7125a27fb5843ad21e203fe (patch)
tree19b6343929b8063fbcf1b2248c617a43cc49e354 /lang/python/python-contextlib2
parent9156655ce97c3a5d86a1d462fe72fde4336336bb (diff)
boost: fix the LDFLAGS and reduce the package size
1. Add -lstdc++ to LDFLAGS. 2. Add "-Wl,--gc-sections,--as-needed" to LDFLAGS and "-ffunction-sections -fdata-sections -flto" to CFLAGS which will reduce the size by 10% ~ 13%. 3. Only a virtual package will be created if only static libs are built, which will avoid compiliation failures. 4. Other improvements Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
Diffstat (limited to 'lang/python/python-contextlib2')
0 files changed, 0 insertions, 0 deletions