fish-shell/cmake
ridiculousfish 793aff3891 Use -fno-c++-static-destructors
Static destructors cause the destructor for a global object to run when
the program exits. They are bad because:

1. Registering them takes time and memory at startup

2. Running them takes time at shutdown and also they may have weird
   interactions.

This shaves about 12k off of the binary size.

Unfortunately gcc does not support this flag.
2022-04-02 13:45:01 -07:00
..
checks Optimize away a str2wcs_internal check 2020-09-07 18:05:18 -05:00
Benchmark.cmake Use lowercase CMake function names 2020-03-14 16:11:35 -07:00
CheckIncludeFiles.cmake :Revert "Remove CheckIncludeFiles.cmake" 2022-01-19 11:41:16 -08:00
ConfigureChecks.cmake Use -fno-c++-static-destructors 2022-04-02 13:45:01 -07:00
Docs.cmake docs synopsis: add HTML highlighing and automate manpage markup 2022-01-19 22:56:41 +08:00
gettext.cmake cmake: disable frameworks when searching for libintl 2022-03-26 22:00:44 +08:00
Install.cmake Rename the top-level test target to fish_run_tests 2021-11-26 13:13:42 -08:00
Mac.cmake Revert "Update Mac.cmake" 2022-01-03 08:08:41 -08:00
MacApp.cmake Group certain cmake targets into folders 2021-03-21 13:29:41 -07:00
PCRE2.cmake cmake: Disable -Wunused-macros for bundled PCRE2 2021-10-16 13:50:33 -07:00
Tests.cmake Rename the top-level test target to fish_run_tests 2021-11-26 13:13:42 -08:00
Version.cmake Use lowercase CMake function names 2020-03-14 16:11:35 -07:00