summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-30 14:50:37 +0000
committerjlam <jlam>2004-11-30 14:50:37 +0000
commitdafcb520fd1e098cce6c17d978e5fb0a11b63dce (patch)
treefe0208b86b0f4fd875482f1d22c775959c8becd5 /databases
parent6f46ce69012cdc617a7ada7eab952a048b57d715 (diff)
downloadpkgsrc-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 'databases')
0 files changed, 0 insertions, 0 deletions