diff options
author | jlam <jlam> | 2004-11-30 14:50:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-11-30 14:50:37 +0000 |
commit | dafcb520fd1e098cce6c17d978e5fb0a11b63dce (patch) | |
tree | fe0208b86b0f4fd875482f1d22c775959c8becd5 /www/apache/patches | |
parent | 6f46ce69012cdc617a7ada7eab952a048b57d715 (diff) | |
download | pkgsrc-dafcb520fd1e098cce6c17d978e5fb0a11b63dce.tar.gz |
Modify the way that the toolchain variables, e.g. CC, CPP, CXX, LD, etc.,
are handled. The idea now is to simply remove the paths in the values
of these variables, leaving behind only the basename plus any arguments,
e.g.:
CC= /usr/local/bin/gcc becomes CC= gcc
CPP= /usr/local/bin/gcc -E becomes CPP= gcc -E
The wrapper scripts are generated for every unique executable mentioned
by the toolchain variables, so for the example above, only a "gcc"
wrapper script is generated for ${CC} and ${CPP}. PKG_{CC,CPP,CXX,etc.}
are the paths to the executables wrapped by the wrapper scripts.
Note that it's now possible to set "CC" to something more than just the
path to the compiler, e.g.
CC= cc -ffast-math -funroll-loops -fomit-frame-pointer
and the full value of ${CC} will be passed through via CONFIGURE_ENV
and MAKE_ENV.
Diffstat (limited to 'www/apache/patches')
0 files changed, 0 insertions, 0 deletions