diff options
author | jlam <jlam> | 2004-11-30 14:50:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-11-30 14:50:37 +0000 |
commit | e0816cd38aa2ae18161632428746d5be7aaa3a3f (patch) | |
tree | fe0208b86b0f4fd875482f1d22c775959c8becd5 /editors/cooledit/Makefile | |
parent | 7c1706f998521d0013716738556e9998544afcfa (diff) | |
download | pkgsrc-e0816cd38aa2ae18161632428746d5be7aaa3a3f.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 'editors/cooledit/Makefile')
0 files changed, 0 insertions, 0 deletions