Clone of official tools

Revision:
5:f45a4ca92830
Parent:
2:07730b0f452c
Child:
7:5af61d55adbe
--- a/toolchains/arm.py	Fri May 20 22:36:50 2016 +0100
+++ b/toolchains/arm.py	Fri May 20 22:56:45 2016 +0100
@@ -66,7 +66,7 @@
         self.asm =  [main_cc] + common
         self.cc =   [main_cc] + common + common_c + self.PROFILE.get('COMMON_CC_FLAGS', ["--c99"])
         self.cppc = [main_cc] + common + common_c + self.PROFILE.get('COMMON_CPP_FLAGS', ["--cpp", "--no_rtti"])
-        self.ld =   [join(ARM_BIN, "armlink")] + rofile.get('COMMON_LD_FLAGS', [])
+        self.ld =   [join(ARM_BIN, "armlink")] + self.PROFILE.get('COMMON_LD_FLAGS', [])
         self.sys_libs = []
 
         self.ar = join(ARM_BIN, "armar")