Lines 1-6
Link Here
|
1 |
--- Makefile.common.orig 2023-09-27 02:22:20 UTC |
1 |
--- Makefile.common.orig 2023-09-27 02:22:20 UTC |
2 |
+++ Makefile.common |
2 |
+++ Makefile.common |
3 |
@@ -29,8 +29,13 @@ IBM_JDK_LIB := lib/inc_ibm |
3 |
@@ -29,8 +29,13 @@ else |
4 |
ifeq ($(OS_NAME),Mac) |
4 |
ifeq ($(OS_NAME),Mac) |
5 |
ENDIANESS:="Little Endian" |
5 |
ENDIANESS:="Little Endian" |
6 |
else |
6 |
else |
Lines 20-30
Link Here
|
20 |
|
20 |
|
21 |
# To support new CPU architecture, add a new target name here |
21 |
# To support new CPU architecture, add a new target name here |
22 |
-known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64 |
22 |
-known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64 |
23 |
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-aarch64 FreeBSD-ppc64 FreeBSD-ppc64le FreeBSD-x86 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64 |
23 |
+known_os_archs := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-android-aarch64 Linux-aarch64 Linux-ppc Linux-ppc64 Linux-ppc64le Linux-s390 Linux-s390x Mac-x86 Mac-x86_64 Mac-aarch64 FreeBSD-arm FreeBSD-aarch64 FreeBSD-ppc64 FreeBSD-ppc64le FreeBSD-x86 FreeBSD-x86_64 Windows-x86 Windows-x86_64 Windows-aarch64 SunOS-x86 SunOS-sparc SunOS-x86_64 AIX-ppc AIX-ppc64 Linux-riscv Linux-riscv64 |
24 |
os_arch := $(OS_NAME)-$(OS_ARCH) |
24 |
os_arch := $(OS_NAME)-$(OS_ARCH) |
25 |
IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7")) |
25 |
IBM_JDK_7 := $(findstring IBM, $(shell $(JAVA) -version 2>&1 | grep IBM | grep "JRE 1.7")) |
26 |
|
26 |
|
27 |
@@ -262,6 +267,34 @@ Mac-x86_64_CXXFLAGS := -Ilib/inc_mac -I$(JAVA_HOME)/i |
27 |
@@ -262,6 +267,41 @@ Mac-x86_64_SNAPPY_FLAGS := |
28 |
Mac-x86_64_LINKFLAGS := -dynamiclib |
28 |
Mac-x86_64_LINKFLAGS := -dynamiclib |
29 |
Mac-x86_64_LIBNAME := libsnappyjava.dylib |
29 |
Mac-x86_64_LIBNAME := libsnappyjava.dylib |
30 |
Mac-x86_64_SNAPPY_FLAGS := |
30 |
Mac-x86_64_SNAPPY_FLAGS := |
Lines 36-41
Link Here
|
36 |
+FreeBSD-aarch64_LIBNAME := libsnappyjava.so |
36 |
+FreeBSD-aarch64_LIBNAME := libsnappyjava.so |
37 |
+FreeBSD-aarch64_SNAPPY_FLAGS := |
37 |
+FreeBSD-aarch64_SNAPPY_FLAGS := |
38 |
+ |
38 |
+ |
|
|
39 |
+FreeBSD-arm_CXX := $(CROSS_PREFIX)g++ |
40 |
+FreeBSD-arm_STRIP := $(CROSS_PREFIX)strip |
41 |
+FreeBSD-arm_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden |
42 |
+FreeBSD-arm_LINKFLAGS := -shared -static-libgcc |
43 |
+FreeBSD-arm_LIBNAME := libsnappyjava.so |
44 |
+FreeBSD-arm_SNAPPY_FLAGS := |
45 |
+ |
39 |
+FreeBSD-ppc64_CXX := $(CROSS_PREFIX)g++ |
46 |
+FreeBSD-ppc64_CXX := $(CROSS_PREFIX)g++ |
40 |
+FreeBSD-ppc64_STRIP := $(CROSS_PREFIX)strip |
47 |
+FreeBSD-ppc64_STRIP := $(CROSS_PREFIX)strip |
41 |
+FreeBSD-ppc64_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden |
48 |
+FreeBSD-ppc64_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden |