From: Cheng Zhao Date: Mon, 2 May 2016 23:29:23 +0000 (+0900) Subject: docs: The building environment variables X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0567f09d6daf2657e0e725cf1df85496ad163df4;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git docs: The building environment variables --- diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index 78d3b1a..97779f3 100644 --- a/docs/development/build-instructions-linux.md +++ b/docs/development/build-instructions-linux.md @@ -179,3 +179,25 @@ For example building with GCC toolchain: $ env CC=gcc CXX=g++ ./script/bootstrap.py -v --build_libchromiumcontent --disable_clang $ ./script/build.py -c R ``` + +### Environment variables + +Apart from `CC` and `CXX`, you can also set following environment variables to +custom the building configurations: + +* `CPPFLAGS` +* `CPPFLAGS_host` +* `CFLAGS` +* `CFLAGS_host` +* `CXXFLAGS` +* `CXXFLAGS_host` +* `AR` +* `AR_host` +* `CC` +* `CC_host` +* `CXX` +* `CXX_host` +* `LDFLAGS` + +The environment variables have to be set when executing the `bootstrap.py` +script, it won't work in the `build.py` script.