diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-09-19 15:49:00 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-09-19 15:50:24 (GMT) |
commit | 13dfea4f8ddb38dae127e023d5d25292c4fefb14 (patch) | |
tree | 2ecd5c1807a2cd55e825a6b3e162389f422b4ae3 /README | |
parent | 213c44a51c1309f0b03a7c2763a7599c8cb9a41f (diff) | |
download | Ninja-13dfea4f8ddb38dae127e023d5d25292c4fefb14.zip Ninja-13dfea4f8ddb38dae127e023d5d25292c4fefb14.tar.gz Ninja-13dfea4f8ddb38dae127e023d5d25292c4fefb14.tar.bz2 |
Make auto-reconfiguring work if CFLAGS contains more than one flag.
When using an open-source clang on OS X, one has to pass an isysroot
flag so that it can find system headers (stdio.h), like so:
CXX=path/to/clang++ CFLAGS="-isysroot $(xcrun -show-sdk-path)" ./configure.py
Previously, configure.py wouldn't quote envvars containing spaces, so
it'd rerun this as
CXX=path/to/clang++ CFLAGS=-isysroot /sysroot/path ./configure.py
which would then die because /sysroot/path wasn't excecutable.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions