pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

USE_NATIVE_GCC and CC and CXX overrides



For quite a long time I used to have my own GCC wrapper scripts in
mk.conf:

PKGSRC_COMPILER=     gcc
USE_NATIVE_GCC=      yes
BUILD_ROOT=          /opt/netbsd
CC=                  ${BUILD_ROOT}/scripts/gcc
CXX=                 ${BUILD_ROOT}/scripts/g++

However it seems with pkgsrc-2024Q2 this no longer works and during
package builds, CC and CXX are ignored and it points gcc to 
/usr/bin/gcc instead:

ls -l ./pkgtools/cwrappers/work.rp3/.gcc/bin
total 0
lrwxr-xr-x  1 root  wheel   3 Sep 17 16:01 c++ -> g++
lrwxr-xr-x  1 root  wheel   3 Sep 17 16:01 cc -> gcc
lrwxr-xr-x  1 root  wheel  12 Sep 17 16:01 cpp -> /usr/bin/cpp
lrwxr-xr-x  1 root  wheel  12 Sep 17 16:01 g++ -> /usr/bin/g++
lrwxr-xr-x  1 root  wheel  12 Sep 17 16:01 gcc -> /usr/bin/gcc

Any idea what has changed over the years?


Home | Main Index | Thread Index | Old Index