* Convert native jcpuid code from C++ to C. This should alleviate build

problems experienced by some users.
This commit is contained in:
scintilla
2004-12-19 06:25:27 +00:00
committed by zzz
parent a1ebf85e1b
commit ec11ea4ca7
4 changed files with 12 additions and 8 deletions

View File

@ -20,7 +20,7 @@ mkdir lib/freenet
mkdir lib/freenet/support
mkdir lib/freenet/support/CPUInformation
CPP="g++"
CC="gcc"
case `uname -sr` in
MINGW*)
@ -43,7 +43,7 @@ esac
echo "Compiling C code..."
rm -f $LIBFILE
$CPP $LINKFLAGS $INCLUDES src/*.cpp -o $LIBFILE
$CC $LINKFLAGS $INCLUDES src/*.c -o $LIBFILE
strip $LIBFILE
echo Built $LIBFILE