X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fas-version.sh;h=1a21495e9ff05077b6080c6bfb8fa2c1060067fa;hb=926de8c4326c14fcf35f1de142019043597a4fac;hp=8b9410e329dfdbfafaf5d20c0a959164bfe990e6;hpb=1f89a590b26e34ec7c32fbafaed446e52c3d0c3f;p=linux-2.6-microblaze.git diff --git a/scripts/as-version.sh b/scripts/as-version.sh index 8b9410e329df..1a21495e9ff0 100755 --- a/scripts/as-version.sh +++ b/scripts/as-version.sh @@ -21,14 +21,14 @@ get_canonical_version() echo $((10000 * $1 + 100 * ${2:-0} + ${3:-0})) } -# Clang fails to handle -Wa,--version unless -no-integrated-as is given. -# We check -(f)integrated-as, expecting it is explicitly passed in for the +# Clang fails to handle -Wa,--version unless -fno-integrated-as is given. +# We check -fintegrated-as, expecting it is explicitly passed in for the # integrated assembler case. check_integrated_as() { while [ $# -gt 0 ]; do - if [ "$1" = -integrated-as -o "$1" = -fintegrated-as ]; then - # For the intergrated assembler, we do not check the + if [ "$1" = -fintegrated-as ]; then + # For the integrated assembler, we do not check the # version here. It is the same as the clang version, and # it has been already checked by scripts/cc-version.sh. echo LLVM 0