Author: pierre
Date: Mon Mar 11 07:25:09 2019
New Revision: 4082

Log:
Always display gcc's full version

Modified:
   jhalfs/trunk/common/libs/func_check_version.sh

Modified: jhalfs/trunk/common/libs/func_check_version.sh
==============================================================================
--- jhalfs/trunk/common/libs/func_check_version.sh      Sun Mar 10 01:15:10 
2019        (r4081)
+++ jhalfs/trunk/common/libs/func_check_version.sh      Mon Mar 11 07:25:09 
2019        (r4082)
@@ -103,10 +103,10 @@
     check_version "$MIN_Bash_VER"      "$BASH_VERSION"       "BASH"
   fi
   if [ ! -z $MIN_GCC_VER ]; then
-    check_version "$MIN_GCC_VER"     "`gcc -dumpversion`"  "GCC"
-    check_version "$MIN_GCC_VER"     "`g++ -dumpversion`"  "G++"
+    check_version "$MIN_GCC_VER"     "`gcc -dumpfullversion -dumpversion`"  
"GCC"
+    check_version "$MIN_GCC_VER"     "`g++ -dumpfullversion -dumpversion`"  
"G++"
   elif [ ! -z $MIN_Gcc_VER ]; then
-    check_version "$MIN_Gcc_VER"     "`gcc -dumpversion`"  "GCC"
+    check_version "$MIN_Gcc_VER"     "`gcc -dumpfullversion -dumpversion`"  
"GCC"
   fi
   if [ -n "$MIN_Glibc_VER" ]; then
     check_version "$MIN_Glibc_VER"     "$(ldd --version  | head -n1 | awk 
'{print $NF}')"   "GLIBC"
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to