keithw/mosh — pull request #108 by kmcallister (2012-04-10 02:35:41+00:00)
Title: Build with binary hardening flags when available

Detect and use available binary hardening flags for the compiler and linker. Closes #79.

Since we have the infrastructure for it, we also detect `-fno-default-inline` and `-pipe`. The former had been causing `clang` warning spew.

An open question is whether we're okay with a 30% performance hit on the slowest netbooks. (By contrast, a much more capable machine sees only a 2% slowdown.) See benchmark results on #79; we can gather more data if necessary.