| Index: native_client_sdk/src/tools/common.mk
|
| diff --git a/native_client_sdk/src/tools/common.mk b/native_client_sdk/src/tools/common.mk
|
| index 1082bd50e29d42d2026b8aeeeb6030938b91231a..893fcf1de0bc85113447b3278ab657763632542b 100644
|
| --- a/native_client_sdk/src/tools/common.mk
|
| +++ b/native_client_sdk/src/tools/common.mk
|
| @@ -6,7 +6,7 @@
|
| # GNU Make based build file. For details on GNU Make see:
|
| # http://www.gnu.org/software/make/manual/make.html
|
| #
|
| -#
|
| +
|
|
|
| #
|
| # Toolchain
|
| @@ -26,6 +26,13 @@ TOP_MAKE:=$(word 1,$(MAKEFILE_LIST))
|
|
|
|
|
| #
|
| +# Figure out which OS we are running on.
|
| +#
|
| +GETOS=python $(NACL_SDK_ROOT)/tools/getos.py
|
| +OSNAME:=$(shell $(GETOS))
|
| +
|
| +
|
| +#
|
| # Verify we selected a valid toolchain for this example
|
| #
|
| ifeq (,$(findstring $(TOOLCHAIN),$(VALID_TOOLCHAINS)))
|
| @@ -44,6 +51,7 @@ endif
|
| CONFIG?=Debug
|
|
|
|
|
| +#
|
| # Note for Windows:
|
| # The GCC and LLVM toolchains (include the version of Make.exe that comes
|
| # with the SDK) expect and are capable of dealing with the '/' seperator.
|
| @@ -115,8 +123,6 @@ endif
|
| #
|
| # Compute path to requested NaCl Toolchain
|
| #
|
| -GETOS=python $(NACL_SDK_ROOT)/tools/getos.py
|
| -OSNAME:=$(shell $(GETOS))
|
| TC_PATH:=$(abspath $(NACL_SDK_ROOT)/toolchain)
|
|
|
|
|
|
|