diff options
| -rw-r--r-- | contrib/gcc/config/xm-freebsd.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/gcc/config/xm-freebsd.h b/contrib/gcc/config/xm-freebsd.h index 70df44dd538c..41b08a4fb92e 100644 --- a/contrib/gcc/config/xm-freebsd.h +++ b/contrib/gcc/config/xm-freebsd.h @@ -22,15 +22,16 @@ Boston, MA 02111-1307, USA. */ running FreeBSD. This file should not be specified as $xm_file itself; instead $xm_file should be CPU/xm-freebsd.h, which should include both CPU/xm-CPU.h and this file xm-freebsd.h. */ - -#define HAVE_PUTENV -#define HAVE_STRERROR +#ifndef HAVE_ATEXIT +#define HAVE_ATEXIT +#endif + +/* Tell gcc and collect2 that FreeBSD targets support putenv(3). */ +#define HAVE_PUTENV /* We have _sys_siglist, but the declaration in <signal.h> conflicts with the declarations in collect2.c and mips-tfile.c, so disable the declarations in those files. */ -#define DONT_DECLARE_SYS_SIGLIST - -#define HOST_PTR_PRINTF "%p" +#define SYS_SIGLIST_DECLARED |
