View | Details | Raw Unified | Return to bug 247146
Collapse All | Expand All

(-)Makefile (+2 lines)
Lines 66-71 Link Here
66
PLATFORM_DIR_SUFFIX=	FreeBSD-x86_64
66
PLATFORM_DIR_SUFFIX=	FreeBSD-x86_64
67
.	elif ${ARCH} == i386
67
.	elif ${ARCH} == i386
68
PLATFORM_DIR_SUFFIX=	FreeBSD-x86
68
PLATFORM_DIR_SUFFIX=	FreeBSD-x86
69
.	elif ${ARCH} == aarch64
70
PLATFORM_DIR_SUFFIX=	FreeBSD-aarch64
69
.	else
71
.	else
70
PLATFORM_DIR_SUFFIX=	Default
72
PLATFORM_DIR_SUFFIX=	Default
71
.	endif
73
.	endif
(-)files/patch-Makefile.common (-3 / +10 lines)
Lines 1-4 Link Here
1
--- Makefile.common.orig	2020-05-14 10:44:28 UTC
1
--- Makefile.common.orig	2020-05-06 17:26:51 UTC
2
+++ Makefile.common
2
+++ Makefile.common
3
@@ -45,7 +45,7 @@ endif
3
@@ -45,7 +45,7 @@ endif
4
 
4
 
Lines 5-19 Link Here
5
 # os=Default is meant to be generic unix/linux
5
 # os=Default is meant to be generic unix/linux
6
 
6
 
7
-known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64
7
-known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64
8
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 FreeBSD-x86 FreeBSD-x86_64 Windows-x86 Windows-x86_64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64
8
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 FreeBSD-aarch64 FreeBSD-x86 FreeBSD-x86_64 Windows-x86 Windows-x86_64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64
9
 os_arch := $(OS_NAME)-$(OS_ARCH)
9
 os_arch := $(OS_NAME)-$(OS_ARCH)
10
 IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7"))
10
 IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7"))
11
 
11
 
12
@@ -249,6 +249,13 @@ Mac-x86_64_CXXFLAGS  := -Ilib/inc_mac -I$(JAVA_HOME)/i
12
@@ -249,6 +249,20 @@ Mac-x86_64_CXXFLAGS  := -Ilib/inc_mac -I$(JAVA_HOME)/i
13
 Mac-x86_64_LINKFLAGS := -dynamiclib
13
 Mac-x86_64_LINKFLAGS := -dynamiclib
14
 Mac-x86_64_LIBNAME   := libsnappyjava.jnilib
14
 Mac-x86_64_LIBNAME   := libsnappyjava.jnilib
15
 Mac-x86_64_SNAPPY_FLAGS  :=
15
 Mac-x86_64_SNAPPY_FLAGS  :=
16
+
16
+
17
+FreeBSD-aarch64_CXX          := $(CROSS_PREFIX)g++
18
+FreeBSD-aarch64_STRIP        := $(CROSS_PREFIX)strip
19
+FreeBSD-aarch64_CXXFLAGS     := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
20
+FreeBSD-aarch64_LINKFLAGS    := -shared -static-libgcc
21
+FreeBSD-aarch64_LIBNAME      := libsnappyjava.so
22
+FreeBSD-aarch64_SNAPPY_FLAGS :=
23
+
17
+FreeBSD-x86_CXX          := $(CROSS_PREFIX)g++
24
+FreeBSD-x86_CXX          := $(CROSS_PREFIX)g++
18
+FreeBSD-x86_STRIP        := $(CROSS_PREFIX)strip
25
+FreeBSD-x86_STRIP        := $(CROSS_PREFIX)strip
19
+FreeBSD-x86_CXXFLAGS     := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
26
+FreeBSD-x86_CXXFLAGS     := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden

Return to bug 247146