Change linking script options to allow user defined linker scripts
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S256.cdef
index ff883de3bf23bbbd093702d1bbbfcfa9edecd9b1..e388e0e83741a3e4354ee7565868fffdfcb2d730 100644 (file)
@@ -49,6 +49,6 @@ CPU_DESC += [ "256 Kbytes internal flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S256__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_256_rom.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "at91sam7_256_rom.ld"