summaryrefslogtreecommitdiff
path: root/gcc/config/mips/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r--gcc/config/mips/linux.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index b30289741fe..c028f563de0 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -134,7 +134,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
# define MARCH_MTUNE_NATIVE_SPECS ""
#endif
-#define BASE_DRIVER_SELF_SPECS \
+#define LINUX_DRIVER_SELF_SPECS \
NO_SHARED_SPECS \
MARCH_MTUNE_NATIVE_SPECS, \
/* -mplt has no effect without -mno-shared. Simplify later \
@@ -142,4 +142,8 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
"%{!mno-shared:%<mplt}", \
/* -mplt likewise has no effect for -mabi=64 without -msym32. */ \
"%{mabi=64:%{!msym32:%<mplt}}"
-#define DRIVER_SELF_SPECS BASE_DRIVER_SELF_SPECS
+
+#undef DRIVER_SELF_SPECS
+#define DRIVER_SELF_SPECS \
+ BASE_DRIVER_SELF_SPECS, \
+ LINUX_DRIVER_SELF_SPECS