diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 15:43:40 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 15:45:55 -0700 |
| commit | 161b50a8e63ea4fd92d42750c6e0feaed269a92e (patch) | |
| tree | 358fcea376e222878df9a0154e79ce0eb12e4869 /src/rustllvm/RustWrapper.cpp | |
| parent | ba5f53009aab826d8bb8fa97f3213b2fee803e29 (diff) | |
| download | rust-161b50a8e63ea4fd92d42750c6e0feaed269a92e.tar.gz rust-161b50a8e63ea4fd92d42750c6e0feaed269a92e.zip | |
mk: Don't build jemalloc with -g3
By default, jemalloc is building itself with -g3 if the local compiler supports it. It looks like this is generating a good deal of debug info that windows isn't optimizing out (on the order of 18MB). Windows gcc/ld is also not optimizing this data away, causing hello world to be 18MB in size. There's no current real need for debugging jemalloc to a great extent, so this commit manually passes -g1 to override -g3 which jemalloc is using. This is confirmed to drop the size of executables on windows back to a more reasonable size (2.0MB, as they were before). Closes #14144
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
