FreeBSD Bugzilla – Attachment 214838 Details for
Bug 246718
devel/tbb: add powerpc support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
tbb.patch (text/plain), 2.20 KB, created by
Piotr Kubaj
on 2020-05-25 08:31:23 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2020-05-25 08:31:23 UTC
Size:
2.20 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 535894) >+++ Makefile (working copy) >@@ -11,7 +11,7 @@ > > LICENSE= APACHE20 > >-ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 >+ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 > ONLY_FOR_ARCHS_REASON= has not been ported to this platform > > USES= compiler gmake tar:tgz >Index: files/patch-build-BSD.inc >=================================================================== >--- files/patch-build-BSD.inc (revision 535894) >+++ files/patch-build-BSD.inc (working copy) >@@ -1,6 +1,6 @@ >---- build/BSD.inc.orig 2019-12-18 22:42:41 UTC >+--- build/BSD.inc.orig 2020-03-30 11:38:06 UTC > +++ build/BSD.inc >-@@ -22,17 +22,26 @@ ifndef arch >+@@ -22,17 +22,29 @@ ifndef arch > ifeq ($(shell uname -m),amd64) > export arch:=intel64 > endif >@@ -13,6 +13,9 @@ > + ifeq ($(shell uname -p),powerpc64) > + export arch:=powerpc64 > + endif >++ ifeq ($(shell uname -p),powerpc) >++ export arch:=powerpc >++ endif > endif > > ifndef runtime >@@ -30,7 +33,7 @@ > debugger ?= gdb > > CMD=$(SHELL) -c >-@@ -42,7 +51,7 @@ RD?=rmdir >+@@ -42,7 +54,7 @@ RD?=rmdir > MD?=mkdir -p > NUL= /dev/null > SLASH=/ >Index: files/patch-build_FreeBSD.gcc.inc >=================================================================== >--- files/patch-build_FreeBSD.gcc.inc (revision 535894) >+++ files/patch-build_FreeBSD.gcc.inc (working copy) >@@ -1,4 +1,4 @@ >---- build/FreeBSD.gcc.inc.orig 2019-12-20 22:46:13 UTC >+--- build/FreeBSD.gcc.inc.orig 2020-03-30 11:38:06 UTC > +++ build/FreeBSD.gcc.inc > @@ -26,7 +26,7 @@ WARNING_SUPPRESS = -Wno-parentheses > >@@ -9,15 +9,20 @@ > LIBS = -lpthread > C_FLAGS = $(CPLUS_FLAGS) > >-@@ -56,6 +56,11 @@ ifeq (ia64,$(arch)) >- endif >- >+@@ -58,6 +58,16 @@ endif > ifeq (intel64,$(arch)) >+ CPLUS_FLAGS += -m64 >+ LIB_LINK_FLAGS += -m64 >++endif >++ >++ifeq (powerpc64,$(arch)) > + CPLUS_FLAGS += -m64 > + LIB_LINK_FLAGS += -m64 > +endif > + >-+ifeq (powerpc64,$(arch)) >- CPLUS_FLAGS += -m64 >- LIB_LINK_FLAGS += -m64 >++ifeq (powerpc,$(arch)) >++ CPLUS_FLAGS += -m32 >++ LIB_LINK_FLAGS += -m32 > endif >+ >+ ifeq (ia32,$(arch))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246718
: 214838