Merge pull request #3641 from RajalakshmiSR/ppc_build

power10:  Fix build issues due to perl scripts conversion
This commit is contained in:
Martin Kroeker 2022-06-05 11:23:29 +02:00 committed by GitHub
commit f150c97ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@ link=`$compiler_name $flags -c ctest2.c -o ctest2.o 2>&1 && $compiler_name $flag
link=`echo "$link" | sed 's/\-Y[[:space:]]P\,/\-Y/g'`
flags=`echo $link | tr '[[:space:]],\n' ' '`
flags=`echo $link | tr "'[[:space:]],\n" " "`
# Strip trailing quotes
old_flags="$flags"

View File

@ -84,7 +84,7 @@ else
;;
*GNU*|*GCC*)
v="${data##*GCC: *\) }"
v="${data#*GCC: *\) }"
v="${v%%\"*}"
major="${v%%.*}"
@ -309,7 +309,7 @@ if [ -n "$link" ]; then
link=`echo "$link" | sed 's/\-rpath-link[[:space:]]+/\-rpath-link\%/g'`
flags=`echo "$link" | tr ',\n' ' '`
flags=`echo "$link" | tr "',\n" " "`
# remove leading and trailing quotes from each flag.
#@flags = map {s/^['"]|['"]$//g; $_} @flags;