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
3 diff -durN gcc-4.4.4.orig/libgomp/configure gcc-4.4.4/libgomp/configure
4 --- gcc-4.4.4.orig/libgomp/configure 2010-04-29 10:26:54.000000000 +0200
5 +++ gcc-4.4.4/libgomp/configure 2010-05-16 19:12:19.000000000 +0200
8 # Add -Wall -Werror if we are using GCC.
9 if test "x$GCC" = "xyes"; then
10 - XCFLAGS="$XCFLAGS -Wall -Werror"
11 + XCFLAGS="$XCFLAGS -Wall"
14 # Find other programs we need.