forked from I2P_Developers/i2p.i2p
improvements to jbigi scripts
support for Solaris (tested with Solaris 11 x86)
mbuild-all.sh:
- output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
- switch from echo -e to the more portable printf
- more error checking, comments
debian/patches: refreshed based on changes to core/c/*
libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with
java 1.7.0_07 and gcc 4.5.2, stripped
This commit is contained in:
@@ -19,7 +19,7 @@ esac
|
||||
rm -rf lib
|
||||
mkdir -p lib/freenet/support/CPUInformation
|
||||
|
||||
CC="gcc"
|
||||
[ -z $CC ] && CC="gcc"
|
||||
|
||||
case `uname -s` in
|
||||
MINGW*|CYGWIN*)
|
||||
@@ -62,6 +62,14 @@ case `uname -s` in
|
||||
ARCH="ia64";;
|
||||
i?86*)
|
||||
ARCH="x86";;
|
||||
# Solaris x86
|
||||
i86pc)
|
||||
if $(echo $CC | grep -q '\-m64') ; then
|
||||
ARCH="x86_64"
|
||||
else
|
||||
ARCH="x86"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported build environment. jcpuid is only used on x86 systems."
|
||||
exit 0;;
|
||||
|
||||
Reference in New Issue
Block a user