Change linking script options to allow user defined linker scripts
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S512.cdef
index 437bb35e2a46f87b4845d4d710795cbf2c028443..3121c54c1e58dad1b41cd8d6ba4563cd12468b0c 100644 (file)
@@ -49,5 +49,5 @@ CPU_DESC += [ "512 Kbytes internal flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S512__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_512_rom.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "at91sam7_512_rom.ld"