diff src/s/freebsd.h @ 167:85ec50267440 r20-3b10

Import from CVS: tag r20-3b10
author cvs
date Mon, 13 Aug 2007 09:45:46 +0200
parents 0132846995bd
children 2d532a89d707
line wrap: on
line diff
--- a/src/s/freebsd.h	Mon Aug 13 09:44:44 2007 +0200
+++ b/src/s/freebsd.h	Mon Aug 13 09:45:46 2007 +0200
@@ -36,13 +36,17 @@
 #define LIBS_TERMCAP "-ltermcap"
 #define LIB_GCC "-lgcc"
 
-/* freebsd has POSIX-style pgrp behavior. */
-#define GETPGRP_NO_ARG
+#ifndef NO_SHARED_LIBS
+#if 0 /* mrb */
+#define LD_SWITCH_SYSTEM "-dc -dp -e start"
+#define START_FILES "pre-crt0.o /usr/lib/crt0.o"
+#else /* mrb */
+#define ORDINARY_LINK
+#undef LD_SWITCH_SYSTEM
+#undef START_FILES
+#endif /* mrb */
 
-#ifndef NO_SHARED_LIBS
-#define LD_SWITCH_SYSTEM "-dc -dp -e start"
 #define HAVE_TEXT_START		/* No need to define `start_of_text'. */
-#define START_FILES "pre-crt0.o /usr/lib/crt0.o"
 #define UNEXEC "unexfreebsd.o"
 #define RUN_TIME_REMAP