diff options
author | David Walter Seikel | 2012-02-20 15:27:30 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-20 15:27:30 +1000 |
commit | 31a378998c641064b92c5d6578dece08b015df58 (patch) | |
tree | 7c93ad46807600d0575c976d69e9de69345e38b9 /linden/scripts/linux/config-SL-source | |
parent | Applied patch by onefang for #975: chat console interferes with login control... (diff) | |
download | meta-impy-31a378998c641064b92c5d6578dece08b015df58.zip meta-impy-31a378998c641064b92c5d6578dece08b015df58.tar.gz meta-impy-31a378998c641064b92c5d6578dece08b015df58.tar.bz2 meta-impy-31a378998c641064b92c5d6578dece08b015df58.tar.xz |
Adding my linux build scripts. Makes it easy to build under 32 and 64 bit linux.
Diffstat (limited to 'linden/scripts/linux/config-SL-source')
-rw-r--r-- | linden/scripts/linux/config-SL-source | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/linden/scripts/linux/config-SL-source b/linden/scripts/linux/config-SL-source new file mode 100644 index 0000000..174d7d4 --- /dev/null +++ b/linden/scripts/linux/config-SL-source | |||
@@ -0,0 +1,63 @@ | |||
1 | # cmake-SL v1.31 (c)2008-2009 Henri Beauchamp. Released under GPL license v2: | ||
2 | # http://www.gnu.org/licenses/gpl.txt | ||
3 | |||
4 | |||
5 | # You may enable or disable the use of your system's library by editing | ||
6 | # the USE_SYSTEM_* variable ("yes" --> use the system library, "no" --> use | ||
7 | # LL's provided ones). | ||
8 | # The script also takes care of updating properly the viewer_manifest.py script | ||
9 | # accordingly, so that you (should) end up with a properly packaged client. | ||
10 | |||
11 | PWD=`pwd` | ||
12 | |||
13 | # Where the sources of the client will be held (defaults to "./linden"): | ||
14 | PATH_TO_SOURCES="$PWD/../.." | ||
15 | # Where the patches of the client are stored | ||
16 | PATH_TO_PATCHES="$PWD/../../patches" | ||
17 | # Where to store temporary files: | ||
18 | TEMP_DIR="/tmp/SL-$USER" | ||
19 | mkdir -p $TEMP_DIR | ||
20 | |||
21 | USE_SYSTEM_GTK="no" | ||
22 | USE_SYSTEM_SDL="no" | ||
23 | USE_SYSTEM_SSL="no" | ||
24 | # Beware: libdb4 makes use of libapr, libapr makes use of libexpat and | ||
25 | # libxmlrc-epi makes use of libexpat... so you should keep USE_SYSTEM_APR, | ||
26 | # USE_SYSTEM_DB4, USE_SYSTEM_EXPAT and USE_SYSTEM_XMLRPC in sync. | ||
27 | USE_SYSTEM_APR="no" | ||
28 | USE_SYSTEM_EXPAT="no" | ||
29 | USE_SYSTEM_XMLRPC="no" | ||
30 | # Note: you may specify a version number (example: 4.6) instead of "yes" | ||
31 | # in USE_SYSTEM_DB4 (by default the cmake scripts will attempt to link | ||
32 | # against DB4.2 only and would fail when set to "yes" if this is not the | ||
33 | # version installed on your system. | ||
34 | USE_SYSTEM_DB4="no" | ||
35 | # You should keep the USE_SYSTEM_CARES setting in sync with the USE_SYSTEM_CURL | ||
36 | # setting further below... | ||
37 | USE_SYSTEM_CARES="no" | ||
38 | # If your system libcurl does not use c-ares (non-blocking DNS calls), better | ||
39 | # using LL's provided library... | ||
40 | USE_SYSTEM_CURL="no" | ||
41 | USE_SYSTEM_OGG="no" | ||
42 | USE_SYSTEM_ZLIB="no" | ||
43 | USE_SYSTEM_UUID="no" | ||
44 | USE_SYSTEM_VORBIS="no" | ||
45 | USE_SYSTEM_JPEGLIB="no" | ||
46 | USE_SYSTEM_PERFTOOLS="no" | ||
47 | USE_SYSTEM_ELFIO="no" | ||
48 | # When compiling against anything newer than glibc v2.4, do use "yes" here: | ||
49 | USE_SYSTEM_LIBSTDC="yes" | ||
50 | # Seems that current viewers don't actually like the boost that LL uses. Probaly best to set this to "yes" | ||
51 | USE_SYSTEM_BOOST="no" | ||
52 | |||
53 | # You may add tune flags here, to optimize the code for your processor. | ||
54 | # Example, for an Athlon XP: | ||
55 | # TUNE_FLAGS="-march=athlon-xp" | ||
56 | TUNE_FLAGS="-fomit-frame-pointer -frename-registers -ftree-vectorize -fweb -fexpensive-optimizations -msse -mfpmath=sse" | ||
57 | # Set this to "yes" to force vectorization use in the viewer code (only for | ||
58 | # processors with SSE or Altivec units, and only if you did enable them via | ||
59 | # the TUNE_FLAGS. | ||
60 | FORCE_VECTORIZE="yes" | ||
61 | |||
62 | # When using gcc v4.3 or later, you might have to set this to yes... | ||
63 | ALLOW_WARNINGS="yes" | ||