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

(-)Makefile (-1 / +1 lines)
Lines 11-17 Link Here
11
11
12
LICENSE=	APACHE20
12
LICENSE=	APACHE20
13
13
14
ONLY_FOR_ARCHS=		aarch64 amd64 armv6 armv7 i386 powerpc64
14
ONLY_FOR_ARCHS=		aarch64 amd64 armv6 armv7 i386 powerpc powerpc64
15
ONLY_FOR_ARCHS_REASON=	has not been ported to this platform
15
ONLY_FOR_ARCHS_REASON=	has not been ported to this platform
16
16
17
USES=	compiler gmake tar:tgz
17
USES=	compiler gmake tar:tgz
(-)files/patch-build-BSD.inc (-3 / +6 lines)
Lines 1-6 Link Here
1
--- build/BSD.inc.orig	2019-12-18 22:42:41 UTC
1
--- build/BSD.inc.orig	2020-03-30 11:38:06 UTC
2
+++ build/BSD.inc
2
+++ build/BSD.inc
3
@@ -22,17 +22,26 @@ ifndef arch
3
@@ -22,17 +22,29 @@ ifndef arch
4
         ifeq ($(shell uname -m),amd64)
4
         ifeq ($(shell uname -m),amd64)
5
                 export arch:=intel64
5
                 export arch:=intel64
6
         endif
6
         endif
Lines 13-18 Link Here
13
+        ifeq ($(shell uname -p),powerpc64)
13
+        ifeq ($(shell uname -p),powerpc64)
14
+                export arch:=powerpc64
14
+                export arch:=powerpc64
15
+        endif
15
+        endif
16
+        ifeq ($(shell uname -p),powerpc)
17
+                export arch:=powerpc
18
+        endif
16
 endif
19
 endif
17
 
20
 
18
 ifndef runtime
21
 ifndef runtime
Lines 30-36 Link Here
30
 debugger ?= gdb
33
 debugger ?= gdb
31
 
34
 
32
 CMD=$(SHELL) -c
35
 CMD=$(SHELL) -c
33
@@ -42,7 +51,7 @@ RD?=rmdir
36
@@ -42,7 +54,7 @@ RD?=rmdir
34
 MD?=mkdir -p
37
 MD?=mkdir -p
35
 NUL= /dev/null
38
 NUL= /dev/null
36
 SLASH=/
39
 SLASH=/
(-)files/patch-build_FreeBSD.gcc.inc (-7 / +12 lines)
Lines 1-4 Link Here
1
--- build/FreeBSD.gcc.inc.orig	2019-12-20 22:46:13 UTC
1
--- build/FreeBSD.gcc.inc.orig	2020-03-30 11:38:06 UTC
2
+++ build/FreeBSD.gcc.inc
2
+++ build/FreeBSD.gcc.inc
3
@@ -26,7 +26,7 @@ WARNING_SUPPRESS = -Wno-parentheses
3
@@ -26,7 +26,7 @@ WARNING_SUPPRESS = -Wno-parentheses
4
 
4
 
Lines 9-23 Link Here
9
 LIBS = -lpthread 
9
 LIBS = -lpthread 
10
 C_FLAGS = $(CPLUS_FLAGS)
10
 C_FLAGS = $(CPLUS_FLAGS)
11
 
11
 
12
@@ -56,6 +56,11 @@ ifeq (ia64,$(arch))
12
@@ -58,6 +58,16 @@ endif 
13
 endif 
14
 
15
 ifeq (intel64,$(arch))
13
 ifeq (intel64,$(arch))
14
     CPLUS_FLAGS += -m64
15
     LIB_LINK_FLAGS += -m64
16
+endif 
17
+
18
+ifeq (powerpc64,$(arch))
16
+    CPLUS_FLAGS += -m64
19
+    CPLUS_FLAGS += -m64
17
+    LIB_LINK_FLAGS += -m64
20
+    LIB_LINK_FLAGS += -m64
18
+endif 
21
+endif 
19
+
22
+
20
+ifeq (powerpc64,$(arch))
23
+ifeq (powerpc,$(arch))
21
     CPLUS_FLAGS += -m64
24
+    CPLUS_FLAGS += -m32
22
     LIB_LINK_FLAGS += -m64
25
+    LIB_LINK_FLAGS += -m32
23
 endif 
26
 endif 
27
 
28
 ifeq (ia32,$(arch))

Return to bug 246718