diff options
author | pfg <pfg@FreeBSD.org> | 2013-06-24 21:13:58 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-06-24 21:13:58 +0000 |
commit | f12dc86bf3a86e7268be5827d25218b15600066d (patch) | |
tree | 9ded2ee595e2de7f8ef1eccacdc1ca7639ac985e | |
parent | b023066a1dfe3db9bdd5128fc8bfb22fe7af54a9 (diff) | |
download | FreeBSD-src-f12dc86bf3a86e7268be5827d25218b15600066d.zip FreeBSD-src-f12dc86bf3a86e7268be5827d25218b15600066d.tar.gz |
gcc: configuration fix.
-Fix configuration support for FreeBSD 10 and 11.
Note this change is based on GCC-SVN-131197 with permission
by gerald@ .
Reported by: jmallet
-rw-r--r-- | contrib/gcc/config.gcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/config.gcc b/contrib/gcc/config.gcc index 2e1c10f..0cd7b91 100644 --- a/contrib/gcc/config.gcc +++ b/contrib/gcc/config.gcc @@ -428,9 +428,9 @@ case ${target} in tm_defines="${tm_defines} FBSD_MAJOR=8" ;; *-*-freebsd9 | *-*-freebsd[9].*) tm_defines="${tm_defines} FBSD_MAJOR=9" ;; - *-*-freebsd10 | *-*-freebsd[10].*) + *-*-freebsd10 | *-*-freebsd10.*) tm_defines="${tm_defines} FBSD_MAJOR=10" ;; - *-*-freebsd11 | *-*-freebsd[11].*) + *-*-freebsd11 | *-*-freebsd11.*) tm_defines="${tm_defines} FBSD_MAJOR=11" ;; *) echo 'Please update *-*-freebsd* in gcc/config.gcc' |