Change linking script options to allow user defined linker scripts
[bertos.git] / bertos / cpu / arm / info / LPC2378.cdef
index 461ee209f381977c85a7ec5fde6fd26f05984859..b009a27f7153fc0989c8d8a8d59009df432cb3de 100644 (file)
@@ -49,7 +49,7 @@ CPU_DESC += [ "512 Kbytes internal flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_LPC2378__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "lpc2378.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "lpc2378.ld"
 
 # CPU type used for flashing/debugging
 MK_PROGRAMMER_CPU = "lpc2378"