FreeBSD amd64 build support
This commit is contained in:
parent
a3fd4deee8
commit
db0ac7318d
3
Makefile
3
Makefile
|
@ -94,6 +94,9 @@ mac32:
|
|||
linux32:
|
||||
$(MAKE) native OS_NAME=Linux OS_ARCH=i386
|
||||
|
||||
freebsd64:
|
||||
$(MAKE) native OS_NAME=FreeBSD OS_ARCH=amd64
|
||||
|
||||
# for cross-compilation on Ubuntu, install the g++-arm-linux-gnueabi package
|
||||
linux-arm:
|
||||
$(MAKE) native CROSS_PREFIX=arm-linux-gnueabi- OS_NAME=Linux OS_ARCH=arm
|
||||
|
|
|
@ -105,6 +105,13 @@ Mac-x86_64_LINKFLAGS := -dynamiclib -static-libgcc
|
|||
Mac-x86_64_LIBNAME := libsnappyjava.jnilib
|
||||
Mac-x86_64_SNAPPY_FLAGS :=
|
||||
|
||||
FreeBSD-amd64_CXX := $(CROSS_PREFIX)g++
|
||||
FreeBSD-amd64_STRIP := $(CROSS_PREFIX)strip
|
||||
FreeBSD-amd64_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
|
||||
FreeBSD-amd64_LINKFLAGS := -shared -static-libgcc
|
||||
FreeBSD-amd64_LIBNAME := libsnappyjava.so
|
||||
FreeBSD-amd64_SNAPPY_FLAGS :=
|
||||
|
||||
Windows-x86_CXX := $(CROSS_PREFIX)g++
|
||||
Windows-x86_STRIP := $(CROSS_PREFIX)strip
|
||||
Windows-x86_CXXFLAGS := -Ilib/inc_win -O2
|
||||
|
|
Loading…
Reference in New Issue