Change linking script options to allow user defined linker scripts
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S128.cdef
index 67845577e4ebb9af41900929956c729ffb30576f..d6182219094cb9e2c3f07f83dc1477e5051efb14 100644 (file)
@@ -49,5 +49,5 @@ CPU_DESC += [ "128 Kbytes internal flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S128__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_128_rom.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "at91sam7_128_rom.ld"