forked from I2P_Developers/i2p.i2p
Add x64 for FreeBSD
This commit is contained in:
@@ -15,10 +15,10 @@ FreeBSD*)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
rm -rf lib
|
rm -rf lib
|
||||||
mkdir lib
|
#mkdir lib
|
||||||
mkdir lib/freenet
|
#mkdir lib/freenet
|
||||||
mkdir lib/freenet/support
|
#mkdir lib/freenet/support
|
||||||
mkdir lib/freenet/support/CPUInformation
|
mkdir -p lib/freenet/support/CPUInformation
|
||||||
|
|
||||||
CC="gcc"
|
CC="gcc"
|
||||||
|
|
||||||
@@ -30,10 +30,19 @@ MINGW*)
|
|||||||
LINKFLAGS="-shared -static -static-libgcc -Wl,--kill-at"
|
LINKFLAGS="-shared -static -static-libgcc -Wl,--kill-at"
|
||||||
LIBFILE="lib/freenet/support/CPUInformation/jcpuid-x86-windows.dll";;
|
LIBFILE="lib/freenet/support/CPUInformation/jcpuid-x86-windows.dll";;
|
||||||
FreeBSD*)
|
FreeBSD*)
|
||||||
COMPILEFLAGS="-Wall"
|
case `uname -m` in
|
||||||
INCLUDES="-I. -Iinclude -I$JAVA_HOME/include/ -I$JAVA_HOME/include/freebsd/"
|
amd64)
|
||||||
LINKFLAGS="-shared -static -Wl,-soname,libjcpuid-x86-freebsd.so"
|
LINKFLAGS="-shared -Wl,-soname,libjcpuid-x86_64-freebsd.so"
|
||||||
LIBFILE="lib/freenet/support/CPUInformation/libjcpuid-x86-freebsd.so";;
|
LIBFILE="lib/freenet/support/CPUInformation/libjcpuid-x86_64-freebsd.so";;
|
||||||
|
i?86*)
|
||||||
|
LINKFLAGS="-shared -Wl,-soname,libjcpuid-x86-freebsd.so"
|
||||||
|
LIBFILE="lib/freenet/support/CPUInformation/libjcpuid-x86-freebsd.so";;
|
||||||
|
*)
|
||||||
|
echo "Unknown build environment"
|
||||||
|
exit;;
|
||||||
|
esac
|
||||||
|
COMPILEFLAGS="-fPIC -Wall"
|
||||||
|
INCLUDES="-I. -Iinclude -I$JAVA_HOME/include/ -I$JAVA_HOME/include/freebsd/";;
|
||||||
Linux*)
|
Linux*)
|
||||||
case `uname -m` in
|
case `uname -m` in
|
||||||
x86_64*)
|
x86_64*)
|
||||||
|
Reference in New Issue
Block a user