diff options
author | Aleric Inglewood | 2010-11-12 21:39:40 +0100 |
---|---|---|
committer | Aleric Inglewood | 2010-11-12 22:38:18 +0100 |
commit | 86c2b6fd2a17f575998bd6efdcab5aa4bafc86b9 (patch) | |
tree | c48ad7fb84e460cda8398036e672212e96ab2171 /linden/indra/llwindow | |
parent | Merge branch 'weekly' into SNOW-713 (diff) | |
download | meta-impy-86c2b6fd2a17f575998bd6efdcab5aa4bafc86b9.zip meta-impy-86c2b6fd2a17f575998bd6efdcab5aa4bafc86b9.tar.gz meta-impy-86c2b6fd2a17f575998bd6efdcab5aa4bafc86b9.tar.bz2 meta-impy-86c2b6fd2a17f575998bd6efdcab5aa4bafc86b9.tar.xz |
Add support for using ld.gold on linux.
To use ld.gold configure with:
-DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,-use-gold".
ld.gold links the viewer on my machine in 8 seconds, as
opposed to 19 seconds with ld.bfd. Moreover, it uses a
LOT less memory during linking (about 750 MB instead of
2.5 GB!). Thanks to Siana Gearz for pointing out that
ld.gold is so much faster.
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r-- | linden/indra/llwindow/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/llwindow/CMakeLists.txt b/linden/indra/llwindow/CMakeLists.txt index 5224163..ea81abf 100644 --- a/linden/indra/llwindow/CMakeLists.txt +++ b/linden/indra/llwindow/CMakeLists.txt | |||
@@ -59,6 +59,7 @@ set(viewer_HEADER_FILES | |||
59 | set(llwindow_LINK_LIBRARIES | 59 | set(llwindow_LINK_LIBRARIES |
60 | ${UI_LIBRARIES} # for GTK | 60 | ${UI_LIBRARIES} # for GTK |
61 | ${SDL_LIBRARY} | 61 | ${SDL_LIBRARY} |
62 | fontconfig # For FCInit and other FC* functions. | ||
62 | ) | 63 | ) |
63 | 64 | ||
64 | if (DARWIN) | 65 | if (DARWIN) |