Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/mt-mips-elfoabi')
-rw-r--r--config/mt-mips-elfoabi7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/mt-mips-elfoabi b/config/mt-mips-elfoabi
index a9f9cbec7..988ca1eaa 100644
--- a/config/mt-mips-elfoabi
+++ b/config/mt-mips-elfoabi
@@ -1 +1,6 @@
-include $(srcdir)/config/mt-mips16-compat
+# The *-elfoabi configurations are intended to be usable for both
+# MIPS16 and non-MIPS16 code, but the libraries are all non-MIPS16.
+# Add -minterlink-mips16 so that the libraries can be used with both
+# ISA modes.
+CFLAGS_FOR_TARGET += -minterlink-mips16
+CXXFLAGS_FOR_TARGET += -minterlink-mips16