Allowed to override by variable CC the use of g++ in releng/auto_cxx . Proposal by Tom Stellard.

This commit is contained in:
Thomas Schmitt 2022-05-10 17:16:38 +02:00
parent fc587966d3
commit 0cb2e15190
2 changed files with 4 additions and 3 deletions

View File

@ -141,8 +141,9 @@ All general options are accepted.
./auto_cxx
Not included in GNU xorriso.
Exercises inclusion of xorriso/xorriso.h and libisoburn/libisoburn.h
in C++ programs and linking of the libraries. It might be necessary
to set compiler options by shell variable CFLAGS before running the test.
in C++ programs and linking of the libraries. It is possible to override the
use of g++ as compiler by shell variable CC. It might be necessary to set
compiler options by shell variable CFLAGS before running the test.
It might be necessary to hand over the install directory of libburn and
libisofs in shell variable LD_LIBRARY_PATH.
E.g. if on FreeBSD the include headers libisofs.h , libburn.h are not found:

View File

@ -29,7 +29,7 @@ fi
# xorriso binary is not needed for that particular test
SAMPLE_CODE_DIR=codesamples
CC=g++
CC=${CC:-g++}
# check compiler
if ! which "${CC}" >/dev/null 2>&1; then