mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 08:40:30 +08:00
re PR target/65535 (powerpc64-freebsd build failure)
PR target/65535 * config.gcc: Exit with a comment when we do not have a major version number for the FreeBSD target. From-SVN: r222192
This commit is contained in:
parent
b496063dcd
commit
faabf7880c
@ -1,3 +1,9 @@
|
||||
2015-04-17 Andreas Tobler <andreast@gcc.gnu.org>
|
||||
|
||||
PR target/65535
|
||||
* config.gcc: Exit with a comment when we do not have a major version
|
||||
number for the FreeBSD target.
|
||||
|
||||
2015-04-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/65689
|
||||
|
@ -664,6 +664,11 @@ case ${target} in
|
||||
gas=yes
|
||||
gnu_ld=yes
|
||||
fbsd_major=`echo ${target} | sed -e 's/.*freebsd//g' | sed -e 's/\..*//g'`
|
||||
if test "$fbsd_major" = ""; then
|
||||
echo "Specify the major version number of the targeted FreeBSD release"
|
||||
echo "like this: --target=amd64-unknown-freebsd10.1"
|
||||
exit 1
|
||||
fi
|
||||
tm_defines="${tm_defines} FBSD_MAJOR=${fbsd_major}"
|
||||
tmake_file="t-slibgcc"
|
||||
case ${enable_threads} in
|
||||
|
Loading…
x
Reference in New Issue
Block a user