about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHideki Sekine <sekineh@me.com>2018-08-14 22:40:30 +0900
committerHideki Sekine <sekineh@me.com>2018-08-14 22:40:30 +0900
commit10395f31371880f8a2febc5e518ba142f283f707 (patch)
treece9f9155769db6eadec860caa580112a44d35ef4
parent62b3935298072c66a0052808ee55f93e4b7415b3 (diff)
downloadrust-10395f31371880f8a2febc5e518ba142f283f707.tar.gz
rust-10395f31371880f8a2febc5e518ba142f283f707.zip
change variable definition order (basic thing first).
-rw-r--r--src/test/run-make/thumb-none-cortex-m/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/run-make/thumb-none-cortex-m/Makefile b/src/test/run-make/thumb-none-cortex-m/Makefile
index bee1b9c5f46..a267016efc2 100644
--- a/src/test/run-make/thumb-none-cortex-m/Makefile
+++ b/src/test/run-make/thumb-none-cortex-m/Makefile
@@ -13,17 +13,18 @@
 # See https://stackoverflow.com/questions/7656425/makefile-ifeq-logical-or
 ifneq (,$(filter $(TARGET),thumbv6m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv7m-none-eabi))
 
+# For cargo setting
+RUSTC := $(RUSTC_ORIGINAL)
+LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
 # We need to be outside of 'src' dir in order to run cargo
 WORK_DIR := $(TMPDIR)
+
 HERE := $(shell pwd)
 
 CRATE := cortex-m
 CRATE_URL := https://github.com/rust-embedded/cortex-m
 CRATE_SHA1 := a448e9156e2cb1e556e5441fd65426952ef4b927 # 0.5.0
 
-RUSTC := $(RUSTC_ORIGINAL)
-LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
-
 all:
 	env
 	mkdir -p $(WORK_DIR)