(WORD_SWITCH_TAKES_ARG): Define.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Nov 1995 20:14:02 +0000 (12:14 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Nov 1995 20:14:02 +0000 (12:14 -0800)
(LINK_SPEC): Add rpath.

From-SVN: r10625

gcc/config/mips/iris5.h

index 7272698c82c90487763b5475db0c12a7d54c57d3..2f3f6a14e765e5387380010d029e734e5fad3940 100644 (file)
@@ -50,6 +50,10 @@ Boston, MA 02111-1307, USA.  */
 #define WCHAR_TYPE_SIZE        LONG_TYPE_SIZE
 #define MAX_WCHAR_TYPE_SIZE    MAX_LONG_TYPE_SIZE
 
+#define WORD_SWITCH_TAKES_ARG(STR)                     \
+ (DEFAULT_WORD_SWITCH_TAKES_ARG (STR)                  \
+  || !strcmp (STR, "rpath"))
+
 /* ??? _MIPS_SIM and _MIPS_SZPTR should eventually depend on options when
    options for them exist.  */
 
@@ -90,6 +94,7 @@ Boston, MA 02111-1307, USA.  */
 %{bestGnum} %{shared} %{non_shared} \
 %{call_shared} %{no_archive} %{exact_version} \
 %{!shared:%{!non_shared:%{!call_shared: -call_shared -no_unresolved}}} \
+%{rpath} \
 -_SYSTYPE_SVR4"
 
 /* We now support shared libraries.  */