From c6c6f8bea0a41fde04192dff73f14ae6b881180c Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Tue, 13 Mar 2012 19:22:39 -0400 Subject: [PATCH] Small fixes to README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 543eeec..0721a52 100644 --- a/README.md +++ b/README.md @@ -143,12 +143,12 @@ Advice to distributors A note on compiler flags: Mosh is security-sensitive code. When making automated builds for a binary package, we recommend passing the option `--enable-compile-warnings=error` to ./configure. On GNU/Linux with -g++ or clang++, the package should compile cleanly with +`g++` or `clang++`, the package should compile cleanly with `-Werror`. Please report a bug if it doesn't. Mosh ships with a default optimization setting of `-O2`. Some distributors have asked about changing this to `-Os` (which causes a -compiler to prefer space optimizations to time optimization). We have +compiler to prefer space optimizations to time optimizations). We have benchmarked with the included `src/examples/benchmark` program to test this. The results are that `-O2` is 40% faster than `-Os` with g++ 4.6 on GNU/Linux, and 16% faster than `-Os` with clang++ 3.1 on Mac OS