This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Will this fixincl's on OLD-BSD?


Index: mkfixinc.sh
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fixinc/mkfixinc.sh,v
retrieving revision 1.35
diff -U7 -r1.35 mkfixinc.sh
--- mkfixinc.sh 2000/12/13 20:07:46     1.35
+++ mkfixinc.sh 2001/01/04 16:17:46
@@ -19,14 +19,19 @@
 case $build in
        i?86-*-msdosdjgpp* | \
        *-*-beos* )
                MAKE="${MAKE} TARGETS=twoprocess"
                CFLAGS="${CFLAGS} -DSEPARATE_FIX_PROC"
                ;;

+       *-old-bsd* )
+               CFLAGS="${CFLAGS} -Dexit=xexit -Datexit=xatexit"
+               MAKE="${MAKE} TARGETS=oneprocess"
+               ;;
+
        * )
                MAKE="${MAKE} TARGETS=oneprocess"
                ;;
 esac

 # Check for special fix rules for particular targets
 case $machine in
Index: fixincl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fixinc/fixincl.c,v
retrieving revision 1.48
diff -u -r1.48 fixincl.c
--- fixincl.c   2000/12/13 22:25:21     1.48
+++ fixincl.c   2001/01/04 16:18:02
@@ -184,7 +184,7 @@
 # ifdef SEPARATE_FIX_PROC
   unlink( pz_temp_file );
 # endif
-  return EXIT_SUCCESS;
+  exit (EXIT_SUCCESS);
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]