summaryrefslogtreecommitdiff
path: root/src/s/nextstep.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/nextstep.h')
-rw-r--r--src/s/nextstep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s/nextstep.h b/src/s/nextstep.h
index 0ac2aa89662..011847ddd79 100644
--- a/src/s/nextstep.h
+++ b/src/s/nextstep.h
@@ -73,7 +73,10 @@ Boston, MA 02111-1307, USA. */
/* Link this program just by running cc. */
#define ORDINARY_LINK
+#ifndef __NeXT /* This is defined by standard GCC
+ but not by NeXT's compiler. */
#define LD_SWITCH_SYSTEM -X -noseglinkedit
+#endif /* __NeXT */
/* Don't use -lc on the NeXT. */
#define LIB_STANDARD -lsys_s