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