scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
Call to get the directory mode depending on $CT_SYS_OS
yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.
1 diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure
2 --- gcc-4.4.0.orig/libgomp/configure 2009-04-21 11:08:08.000000000 +0200
3 +++ gcc-4.4.0/libgomp/configure 2009-05-27 21:38:19.000000000 +0200
6 # Add -Wall -Werror if we are using GCC.
7 if test "x$GCC" = "xyes"; then
8 - XCFLAGS="$XCFLAGS -Wall -Werror"
9 + XCFLAGS="$XCFLAGS -Wall"
12 # Find other programs we need.