diff options
author | obrien <obrien@FreeBSD.org> | 2002-09-12 17:19:09 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-09-12 17:19:09 +0000 |
commit | fce167d1b3df76434434ad9c59d5d8c44c2c6920 (patch) | |
tree | df313d64dbffd2de6ec50fe71ed5de8a3b20a054 /contrib/gcc/config/sparc | |
parent | 98ab8a7d26f1240f8dc480eb7afd1d68bc657fc0 (diff) | |
download | FreeBSD-src-fce167d1b3df76434434ad9c59d5d8c44c2c6920.zip FreeBSD-src-fce167d1b3df76434434ad9c59d5d8c44c2c6920.tar.gz |
Emacs decides between v8 and v9 based on "__arch64__". So define it.
Desired by: tmm
Diffstat (limited to 'contrib/gcc/config/sparc')
-rw-r--r-- | contrib/gcc/config/sparc/freebsd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/gcc/config/sparc/freebsd.h b/contrib/gcc/config/sparc/freebsd.h index 54b5f0a..b6971f5 100644 --- a/contrib/gcc/config/sparc/freebsd.h +++ b/contrib/gcc/config/sparc/freebsd.h @@ -18,10 +18,13 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* FreeBSD needs's the platform name (sparc64) defined. */ +/* $FreeBSD$ */ + +/* FreeBSD needs's the platform name (sparc64) defined. + Emacs needs to know if the arch is 64 or 32-bits. */ #undef CPP_CPU64_DEFAULT_SPEC -#define CPP_CPU64_DEFAULT_SPEC "-D__sparc64__ -D__sparc_v9__" +#define CPP_CPU64_DEFAULT_SPEC "-D__sparc64__ -D__sparc_v9__ -D__arch64__" #undef CPP_PREDEFINES #define CPP_PREDEFINES FBSD_CPP_PREDEFINES |