File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22#
3- # Copyright (c) 2014, 2020 , Oracle and/or its affiliates. All rights reserved.
3+ # Copyright (c) 2014, 2022 , Oracle and/or its affiliates. All rights reserved.
44# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55#
66# This code is free software; you can redistribute it and/or modify it
@@ -46,6 +46,13 @@ if echo $* | grep pc-msys >/dev/null ; then
4646 exit
4747fi
4848
49+ # Canonicalize for riscv which autoconf-config.sub doesn't handle
50+ if echo $* | grep ' ^riscv\(32\|64\)-linux' > /dev/null ; then
51+ result=` echo $@ | sed ' s/linux/unknown-linux/' `
52+ echo $result
53+ exit
54+ fi
55+
4956# Filter out everything that doesn't begin with "aarch64-"
5057if ! echo $* | grep ' ^aarch64-' > /dev/null ; then
5158 . $DIR /autoconf-config.sub " $@ "
@@ -78,4 +85,3 @@ result=`echo $result | sed "s/^arm-/aarch64-/"`
7885
7986echo $result
8087exit $exitcode
81-
You can’t perform that action at this time.
0 commit comments