summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/irix5-0.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h
index 434136ba9ce..391ef31c60d 100644
--- a/src/s/irix5-0.h
+++ b/src/s/irix5-0.h
@@ -113,3 +113,9 @@ char *_getpty();
#ifndef __GNUC__
#define C_SWITCH_SYSTEM -cckr
#endif
+
+/* -g does not work on Irix, and since gcc warns if you use it,
+ turn off the warning. */
+#ifdef __GNUC__
+#define C_DEBUG_SWITCH
+#endif