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