DavidEGrayson / nixcrpkgs

Nice nix expressions for cross-compiling.
Other
136 stars 8 forks source link

Use -ffunction-sections and --gc-sections to save space #7

Closed DavidEGrayson closed 7 years ago

DavidEGrayson commented 7 years ago

Try using those options for a big static library like ANGLE and see if the programs compiled from it are smaller. If so, make it a standard rule to use these options. More info.