summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-05-23 17:32:20 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-05-23 17:38:11 -0700
commita8014dbe3fe0b28c2b63de41a96534cdc7ae2924 (patch)
tree38b64f158a8bf9617c853a56003f59e5957d86ff /scripts
parentd378d1f8237078596e0333204f36049b542f4681 (diff)
downloadqtlocation-mapboxgl-a8014dbe3fe0b28c2b63de41a96534cdc7ae2924.tar.gz
[build] Remove unnecessary exported variables
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.mk16
1 files 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