|
|
|
@ -109,6 +109,7 @@ generate_stdout()
|
|
|
|
|
echo " VERSION = $VERSION"
|
|
|
|
|
echo " BUILD_DIR = $P_PWD"
|
|
|
|
|
echo " SRC_DIR = $BUILD_DIR"
|
|
|
|
|
echo " SYSTEM = $SYSTEM"
|
|
|
|
|
echo " PROFILE = $PROFILE"
|
|
|
|
|
echo " CC = $CC"
|
|
|
|
|
echo " COMPILER = $COMPILER"
|
|
|
|
@ -249,7 +250,7 @@ fi
|
|
|
|
|
|
|
|
|
|
DCORES=2
|
|
|
|
|
printf "Detecting operating system......."
|
|
|
|
|
SYSTEM=`uname -s 2> /dev/null | grep "^[A-Za-z0-9]*" -o`
|
|
|
|
|
SYSTEM=`uname -s 2> /dev/null`
|
|
|
|
|
case "$SYSTEM" in
|
|
|
|
|
"SunOS")
|
|
|
|
|
SYSTEM=solaris
|
|
|
|
@ -278,7 +279,7 @@ case "$SYSTEM" in
|
|
|
|
|
DCORES=`sysctl -n hw.ncpu`
|
|
|
|
|
SYSTEM=darwin
|
|
|
|
|
;;
|
|
|
|
|
"MINGW32")
|
|
|
|
|
MINGW32*)
|
|
|
|
|
DCORES=2
|
|
|
|
|
SYSTEM=mingw32
|
|
|
|
|
LDFLAGS="-mthreads $LDFLAGS"
|
|
|
|
|