diff src/s/sco5.h @ 46:6a22abad6937 r19-15

Import from CVS: tag r19-15
author cvs
date Mon, 13 Aug 2007 08:55:31 +0200
parents 376386a54a3c
children 131b0175ea99
line wrap: on
line diff
--- a/src/s/sco5.h	Mon Aug 13 08:55:13 2007 +0200
+++ b/src/s/sco5.h	Mon Aug 13 08:55:31 2007 +0200
@@ -52,7 +52,7 @@
 #ifndef __GNUC__
 #define LINKER cc -Xc
 #else
-#define LINKER gcc -Xc
+#define LINKER gcc
 #endif
 
 #undef LIBX11_SYSTEM
@@ -85,8 +85,8 @@
 #define C_OPTIMIZE_SWITCH -O3 -Xc
 #define C_DEBUG_SWITCH -g -Xc
 #else
-#define C_OPTIMIZE_SWITCH -O99 -m486 -fomit-frame-pointer -Xc
-#define C_DEBUG_SWITCH -g -Xc
+#define C_OPTIMIZE_SWITCH -O99 -m486 -fomit-frame-pointer
+#define C_DEBUG_SWITCH -g
 #endif
 
 /* configure can't get this right linking fails unless -lsocket is used.  */
@@ -100,7 +100,11 @@
 #undef BROKEN_TIOCGWINSZ
 #define NEED_PTEM_H
 
+#ifndef __GNUC__
 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xc.o
+#else
+#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o
+#endif
 #define LIB_STANDARD -lc
 
 /* Send signals to subprocesses by "typing" signal chars at them.  */