svn commit: r552513 - head/devel/tbb/files
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Oct 16 14:36:04 UTC 2020
Author: pkubaj
Date: Fri Oct 16 14:36:02 2020
New Revision: 552513
URL: https://svnweb.freebsd.org/changeset/ports/552513
Log:
devel/tbb: add powerpc64le support
Modified:
head/devel/tbb/files/patch-build-BSD.inc
head/devel/tbb/files/patch-build_FreeBSD.gcc.inc
Modified: head/devel/tbb/files/patch-build-BSD.inc
==============================================================================
--- head/devel/tbb/files/patch-build-BSD.inc Fri Oct 16 14:05:26 2020 (r552512)
+++ head/devel/tbb/files/patch-build-BSD.inc Fri Oct 16 14:36:02 2020 (r552513)
@@ -1,6 +1,6 @@
---- build/BSD.inc.orig 2020-03-30 11:38:06 UTC
+--- build/BSD.inc.orig 2020-07-10 13:18:01 UTC
+++ build/BSD.inc
-@@ -22,17 +22,29 @@ ifndef arch
+@@ -22,17 +22,32 @@ 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),powerpc64le)
++ export arch:=powerpc64le
++ endif
+ ifeq ($(shell uname -p),powerpc)
+ export arch:=powerpc
+ endif
@@ -33,7 +36,7 @@
debugger ?= gdb
CMD=$(SHELL) -c
-@@ -42,7 +54,7 @@ RD?=rmdir
+@@ -42,7 +57,7 @@ RD?=rmdir
MD?=mkdir -p
NUL= /dev/null
SLASH=/
Modified: head/devel/tbb/files/patch-build_FreeBSD.gcc.inc
==============================================================================
--- head/devel/tbb/files/patch-build_FreeBSD.gcc.inc Fri Oct 16 14:05:26 2020 (r552512)
+++ head/devel/tbb/files/patch-build_FreeBSD.gcc.inc Fri Oct 16 14:36:02 2020 (r552513)
@@ -1,4 +1,4 @@
---- build/FreeBSD.gcc.inc.orig 2020-03-30 11:38:06 UTC
+--- build/FreeBSD.gcc.inc.orig 2020-07-10 13:18:01 UTC
+++ build/FreeBSD.gcc.inc
@@ -26,7 +26,7 @@ WARNING_SUPPRESS = -Wno-parentheses
@@ -9,13 +9,18 @@
LIBS = -lpthread
C_FLAGS = $(CPLUS_FLAGS)
-@@ -58,6 +58,16 @@ endif
+@@ -58,6 +58,21 @@ endif
ifeq (intel64,$(arch))
CPLUS_FLAGS += -m64
LIB_LINK_FLAGS += -m64
+endif
+
+ifeq (powerpc64,$(arch))
++ CPLUS_FLAGS += -m64
++ LIB_LINK_FLAGS += -m64
++endif
++
++ifeq (powerpc64le,$(arch))
+ CPLUS_FLAGS += -m64
+ LIB_LINK_FLAGS += -m64
+endif
More information about the svn-ports-all
mailing list