[d0d9e90] | 1 | #####
|
---|
| 2 | #
|
---|
| 3 | # Configuration file for the BLFS module
|
---|
| 4 | #
|
---|
| 5 | # $Id$
|
---|
| 6 | #
|
---|
[2fedf49] | 7 | # Set default envars used in the build scripts
|
---|
[d0d9e90] | 8 | #
|
---|
| 9 | #####
|
---|
| 10 |
|
---|
[9d158f9] | 11 | #======== Common envars ==========
|
---|
[d0d9e90] | 12 |
|
---|
[9c9775f] | 13 | #--- Set a well-known working locale when building software
|
---|
| 14 | export LC_ALL=C
|
---|
| 15 |
|
---|
[d0d9e90] | 16 | #--- The local repository for packages/file
|
---|
| 17 | # Any missing file will be downloaded and archived here,
|
---|
| 18 | # if the user has the right priviledges.
|
---|
| 19 | export SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
| 20 |
|
---|
[2fedf49] | 21 | #--- Server used if the file isn't found in SRC_ARCHIVE.
|
---|
[d0d9e90] | 22 | # As a last resort, the file will dowloaded from upstream, if possible.
|
---|
| 23 | #
|
---|
| 24 | # The server path MUST be set as listed in
|
---|
| 25 | # http://www.linuxfromscratch.org/blfs/download.html
|
---|
| 26 | export FTP_SERVER=ftp://anduin.linuxfromscratch.org/BLFS/
|
---|
[2fedf49] | 27 |
|
---|
| 28 |
|
---|
| 29 | #--- The sources directory.
|
---|
| 30 | # Full path to the top level directory where packages will be stored,
|
---|
| 31 | # unpacked, and compiled.
|
---|
| 32 | export SRC_DIR=$HOME/sources
|
---|
[9d158f9] | 33 |
|
---|
| 34 |
|
---|
| 35 | #======== Xorg7 envars ===========
|
---|
| 36 |
|
---|
| 37 | #--- Installation prefix
|
---|
| 38 | export XORG_PREFIX=/usr
|
---|
| 39 |
|
---|
| 40 | #--- Configure switches
|
---|
[9c9775f] | 41 | export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
|
---|
[9d158f9] | 42 |
|
---|
| 43 | #======== GNOME envars ===========
|
---|
| 44 |
|
---|
| 45 | #--- Installation prefix
|
---|
| 46 | export GNOME_PREFIX=/usr
|
---|
| 47 |
|
---|
| 48 | #--- If you want to install GNOME on a non standart prefix, uncomment
|
---|
| 49 | # the next export lines and edit it if needed.
|
---|
| 50 | # See also the GNOME Pre-installation Configuration HTML page for
|
---|
| 51 | # aditional required commands.
|
---|
| 52 | #export PATH=$PATH:$GNOME_PREFIX/bin
|
---|
| 53 | #export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOME_PREFIX/lib/pkgconfig
|
---|
| 54 | #export GNOME_LIBCONFIG_PATH=/usr/lib:$GNOME_PREFIX/lib
|
---|
| 55 |
|
---|
| 56 | #======== KDE envars =============
|
---|
| 57 |
|
---|
| 58 | #--- Installation prefix
|
---|
| 59 | export KDE_PREFIX=/usr
|
---|
| 60 |
|
---|
| 61 | #--- If you want to install KDE on a non standart prefix, uncomment
|
---|
| 62 | # the next export lines and edit it if needed.
|
---|
| 63 | # See also the KDE Pre-installation Configuration HTML page for
|
---|
| 64 | # aditional required commands.
|
---|
| 65 | #export PATH=$PATH:$KDE_PREFIX/bin
|
---|
| 66 | #export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig
|
---|
| 67 |
|
---|
| 68 |
|
---|
[ce6e009] | 69 |
|
---|
| 70 | #======== Optimizations =============
|
---|
| 71 |
|
---|
| 72 | # Global optimization settings can be placed here. This settings can be
|
---|
| 73 | # overrided by settings in the packages build scripts.
|
---|
| 74 |
|
---|
| 75 | # WARNING: The use of build optimizations may be dangerous.
|
---|
| 76 | # You should know what you are doing and be sure that the
|
---|
| 77 | # optimization settings placed below are what you want.
|
---|
| 78 | # It there are build issues or the system doesn't work as
|
---|
| 79 | # expected, please rebuild without optimizations before
|
---|
| 80 | # asking for support.
|
---|
| 81 |
|
---|
[9c9775f] | 82 | #export MAKEFLAGS="-j3"
|
---|
[ce6e009] | 83 |
|
---|
[9c9775f] | 84 | #export CFLAGS="-O3 -pipe"
|
---|
| 85 | #export CXXFLAGS=$CFLAGS
|
---|
| 86 | #export LDFLAGS="-s"
|
---|
[ce6e009] | 87 |
|
---|
[9c9775f] | 88 | #export OTHER_CFLAGS=$CFLAGS
|
---|
| 89 | #export OTHER_CXXFLAGS=$CXXFLAGS
|
---|
| 90 | #export OTHER_LDFLAGS=$LDFLAGS
|
---|
[ce6e009] | 91 |
|
---|