source: BLFS/envars.conf@ e0a6b8a

experimental
Last change on this file since e0a6b8a was ce6e009, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Added optimizations support.

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