Update linux README with CXXFLAGS (#736)

This commit is contained in:
Ben Doherty
2019-01-23 16:39:34 -08:00
committed by GitHub
parent ad4c4148f4
commit f5bd28b7df

View File

@@ -262,7 +262,7 @@ Your Linux distribution might default to `gcc` instead of `clang`, if that's the
$ mkdir out/cmake-release
$ cd out/cmake-release
# Or use a specific version of clang, for instance /usr/bin/clang-5.0
$ CC=/usr/bin/clang CXX=/usr/bin/clang++ \
$ CC=/usr/bin/clang CXX=/usr/bin/clang++ CXXFLAGS=-stdlib=libc++ \
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../release/filament ../..
```