From a8014dbe3fe0b28c2b63de41a96534cdc7ae2924 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 23 May 2016 17:32:20 -0700 Subject: [build] Remove unnecessary exported variables --- scripts/main.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/main.mk b/scripts/main.mk index dca4ec4b5b..70a84fac15 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -1,30 +1,30 @@ ifeq ($(shell uname -s), Darwin) - export PLATFORM ?= osx + PLATFORM ?= osx else ifeq ($(shell uname -s), Linux) - export PLATFORM ?= linux + PLATFORM ?= linux endif ifeq ($(PLATFORM),android) - export SUBPLATFORM ?= arm-v7 + SUBPLATFORM ?= arm-v7 GYP_FLAVOR_SUFFIX = -android ENV = $(shell MASON_ANDROID_ABI=$(SUBPLATFORM) ./platform/android/scripts/toolchain.sh) else ifeq ($(PLATFORM),ios) - export SUBPLATFORM = all + SUBPLATFORM = all else ifeq ($(PLATFORM),osx) - export SUBPLATFORM = x86_64 + SUBPLATFORM = x86_64 else - export SUBPLATFORM ?= $(shell uname -m) + SUBPLATFORM ?= $(shell uname -m) endif ifeq ($(PLATFORM),node) ifeq ($(shell uname -s), Darwin) CONFIGURE_PLATFORM ?= osx CONFIGURE_SUBPLATFORM = $(SUBPLATFORM) - export PLATFORM_SLUG = node-osx-$(SUBPLATFORM) + PLATFORM_SLUG = node-osx-$(SUBPLATFORM) else ifeq ($(shell uname -s), Linux) CONFIGURE_PLATFORM ?= linux CONFIGURE_SUBPLATFORM = $(SUBPLATFORM) - export PLATFORM_SLUG = node-linux-$(SUBPLATFORM) + PLATFORM_SLUG = node-linux-$(SUBPLATFORM) endif endif -- cgit v1.2.1