Browse Source

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

master
Thomas Schmitt 2 weeks ago
parent
commit
0cb2e15190
  1. 5
      releng/README
  2. 2
      releng/auto_cxx

5
releng/README

@ -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:

2
releng/auto_cxx

@ -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

Loading…
Cancel
Save