Allowed to override by variable CC the use of g++ in releng/auto_cxx . Proposal by Tom Stellard.
This commit is contained in:
parent
fc587966d3
commit
0cb2e15190
@ -141,8 +141,9 @@ All general options are accepted.
|
|||||||
./auto_cxx
|
./auto_cxx
|
||||||
Not included in GNU xorriso.
|
Not included in GNU xorriso.
|
||||||
Exercises inclusion of xorriso/xorriso.h and libisoburn/libisoburn.h
|
Exercises inclusion of xorriso/xorriso.h and libisoburn/libisoburn.h
|
||||||
in C++ programs and linking of the libraries. It might be necessary
|
in C++ programs and linking of the libraries. It is possible to override the
|
||||||
to set compiler options by shell variable CFLAGS before running the test.
|
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
|
It might be necessary to hand over the install directory of libburn and
|
||||||
libisofs in shell variable LD_LIBRARY_PATH.
|
libisofs in shell variable LD_LIBRARY_PATH.
|
||||||
E.g. if on FreeBSD the include headers libisofs.h , libburn.h are not found:
|
E.g. if on FreeBSD the include headers libisofs.h , libburn.h are not found:
|
||||||
|
@ -29,7 +29,7 @@ fi
|
|||||||
|
|
||||||
# xorriso binary is not needed for that particular test
|
# xorriso binary is not needed for that particular test
|
||||||
SAMPLE_CODE_DIR=codesamples
|
SAMPLE_CODE_DIR=codesamples
|
||||||
CC=g++
|
CC=${CC:-g++}
|
||||||
|
|
||||||
# check compiler
|
# check compiler
|
||||||
if ! which "${CC}" >/dev/null 2>&1; then
|
if ! which "${CC}" >/dev/null 2>&1; then
|
||||||
|
Loading…
Reference in New Issue
Block a user