aboutsummaryrefslogtreecommitdiff
path: root/ld/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/config.h')
-rw-r--r--ld/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/config.h b/ld/config.h
index 43e205e..abb92b4 100644
--- a/ld/config.h
+++ b/ld/config.h
@@ -27,12 +27,13 @@
#define GLD960_EMULATION_NAME "gld960"
#define LNK960_EMULATION_NAME "lnk960"
/* Otherwise default to this emulation */
+#ifndef DEFAULT_EMULATION
#ifdef GNU960
#define DEFAULT_EMULATION GLD960_EMULATION_NAME
#else
#define DEFAULT_EMULATION GLD68K_EMULATION_NAME
#endif
-
+#endif /* DEFAULT_EMULATION */
/* Look in this variable for a target format */
#define TARGET_ENVIRON "GNUTARGET"