Commit 49ff69c0 authored by Gerd Moellmann's avatar Gerd Moellmann

(LD_SWITCH_MACHINE): Define differently for GCC.

parent 1f0cf6ee
......@@ -26,7 +26,11 @@
#define COFF
#undef LD_SWITCH_MACHINE
#ifdef __GNUC__
#define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000
#else
#define LD_SWITCH_MACHINE -x -D 800000
#endif
/* #define C_OPTIMIZE_SWITCH -O2 */
#define C_OPTIMIZE_SWITCH -O
......@@ -42,6 +46,7 @@
/* Don't use the definitions in m/mips.h. */
#undef LINKER
#define LINKER $(CC) -nostdlib
#undef LIBS_MACHINE
#define LIBS_MACHINE -lmld
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment