Change linking script options to allow user defined linker scripts
[bertos.git] / bertos / cpu / cortex-m3 / info / STM32F101C4.cdef
index 334f36e2f66473ad47d3e3a3de8a72968f0a3ca0..d8880b9eac5d0c3ddd243a10800504e95a514ca4 100644 (file)
@@ -65,4 +65,4 @@ CPU_DESC += [ "16 Kbytes on-chip flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_STM32F101C4__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "stm32f101c4_rom.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "stm32f101c4_rom.ld"