aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/freebsd-spec.h
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2005-07-19 13:42:12 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2005-07-19 13:42:12 +0000
commit0219cf3d1b62af497f47d15991c6285b1563d557 (patch)
tree754c254553bf8d108a716d3f038a45e14b12c340 /gcc/config/freebsd-spec.h
parent75f81220e9318bec593c831176417fb43126972e (diff)
downloadgcc-0219cf3d1b62af497f47d15991c6285b1563d557.zip
gcc-0219cf3d1b62af497f47d15991c6285b1563d557.tar.gz
gcc-0219cf3d1b62af497f47d15991c6285b1563d557.tar.bz2
config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, and *-*-freebsd9.
* config.gcc: Add support for *-*-freebsd7, *-*-freebsd8, and *-*-freebsd9. * config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto. From-SVN: r102157
Diffstat (limited to 'gcc/config/freebsd-spec.h')
-rw-r--r--gcc/config/freebsd-spec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/freebsd-spec.h b/gcc/config/freebsd-spec.h
index 2217c07..f0e0bcd 100644
--- a/gcc/config/freebsd-spec.h
+++ b/gcc/config/freebsd-spec.h
@@ -51,7 +51,13 @@ Boston, MA 02110-1301, USA. */
#define FBSD_TARGET_OS_CPP_BUILTINS() \
do \
{ \
- if (FBSD_MAJOR == 6) \
+ if (FBSD_MAJOR == 9) \
+ builtin_define ("__FreeBSD__=9"); \
+ else if (FBSD_MAJOR == 8) \
+ builtin_define ("__FreeBSD__=8"); \
+ if (FBSD_MAJOR == 7) \
+ builtin_define ("__FreeBSD__=7"); \
+ else if (FBSD_MAJOR == 6) \
builtin_define ("__FreeBSD__=6"); \
else if (FBSD_MAJOR == 5) \
builtin_define ("__FreeBSD__=5"); \