Browse Source

docs: remove specific clang version from parameters

master
Valdis Vitolins 4 years ago
parent
commit
bcfc001269
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      docs/building.md

+ 3
- 3
docs/building.md View File

To use a different compiler, or compiler flags, you can specify these before To use a different compiler, or compiler flags, you can specify these before
the `configure` command. For example: the `configure` command. For example:


CC=clang-3.5 CFLAGS=-Wextra ./configure --prefix=/usr
CC=clang CFLAGS=-Wextra ./configure --prefix=/usr


The `espeak-ng` and `speak-ng` programs, along with the espeak-ng voices, can The `espeak-ng` and `speak-ng` programs, along with the espeak-ng voices, can
then be built with: then be built with:


CFLAGS="-fsanitize=address,undefined -g" \ CFLAGS="-fsanitize=address,undefined -g" \
LDFLAGS="-fsanitize=address,undefined" \ LDFLAGS="-fsanitize=address,undefined" \
CC=clang-6.0 ./configure
CC=clang ./configure
make make
make check make check


To enable libFuzzer support you need clang 6.0 or later. It is enabled with To enable libFuzzer support you need clang 6.0 or later. It is enabled with
the following: the following:


CC=clang-6.0 ./configure --with-libfuzzer=yes
CC=clang ./configure --with-libfuzzer=yes
make make
make check make check



Loading…
Cancel
Save