Change linking script options to allow user defined linker scripts
[bertos.git] / bertos / cpu / cortex-m3 / info / SAM3N4.cdef
index 93fd7c47f5764b4fb3fb79c1f66e67496e4eb1fa..15ffd8f23c951f817b0611fd0e6d95463d1286d9 100644 (file)
@@ -62,4 +62,4 @@ CPU_DESC += [ "256 Kbytes on-chip flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_SAM3N4__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "sam3n4_rom.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "sam3n4_rom.ld"