packages/libs/boost
Van Waholtz eaa201b774 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>
2020-10-17 06:17:14 -07:00
..
patches boost: Package Revision - Remove unneded patches 2020-08-19 12:12:15 +01:00
Makefile boost: fix the LDFLAGS and reduce the package size 2020-10-17 06:17:14 -07:00