aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/freebsd.h
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2003-05-22 03:59:19 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2003-05-22 03:59:19 +0000
commitd45d08f7a130d56c7377e669fca1c267fe82e197 (patch)
treef46608d40c00661b0c87c248457bb22589151131 /gcc/config/sparc/freebsd.h
parentdf44510411081d7e0e0b8715ed56e6a0db240e20 (diff)
downloadgcc-d45d08f7a130d56c7377e669fca1c267fe82e197.zip
gcc-d45d08f7a130d56c7377e669fca1c267fe82e197.tar.gz
gcc-d45d08f7a130d56c7377e669fca1c267fe82e197.tar.bz2
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match system compiler convention.
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match system compiler convention. From-SVN: r67080
Diffstat (limited to 'gcc/config/sparc/freebsd.h')
-rw-r--r--gcc/config/sparc/freebsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h
index 1e39a27..d7d803e 100644
--- a/gcc/config/sparc/freebsd.h
+++ b/gcc/config/sparc/freebsd.h
@@ -22,7 +22,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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__ -D__arch64__"
+#define CPP_CPU64_DEFAULT_SPEC \
+ "-D__sparc64__ -D__sparc_v9__ -D__sparcv9 -D__sparc__ -D__arch64__"
#define LINK_SPEC "%(link_arch) \
%{!mno-relax:%{!r:-relax}} \