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