aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-15 08:41:48 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-15 08:41:48 +0000
commit9dc5e70bde457f578bb014d3fd0a79fbc386ca39 (patch)
treebacebb451c18905b15f335895e483b862a0467a8
parent5e1cb0184d1cf6e454949f2c4744628e083c4549 (diff)
downloadports-9dc5e70bde457f578bb014d3fd0a79fbc386ca39.tar.gz
ports-9dc5e70bde457f578bb014d3fd0a79fbc386ca39.zip
devel/llvm-devel: enable GOLD and disable FLANG on powerpc
While here, also fix some whitespace issues.
-rw-r--r--devel/llvm-devel/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index c4d7e43968cb..71dc1f0486c8 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -81,14 +81,17 @@ OPTIONS_DEFAULT= CLANG LLD
OPTIONS_DEFINE+= EXTRAS FLANG LIT LLDB MLIR
OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP
OPTIONS_DEFINE_i386= COMPILER_RT OPENMP
+OPTIONS_DEFINE_powerpc= GOLD
OPTIONS_DEFINE_powerpc64= GOLD OPENMP
OPTIONS_DEFAULT+= EXTRAS FLANG LIT LLDB MLIR STATIC_LIBS
OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP
OPTIONS_DEFAULT_i386= COMPILER_RT OPENMP
-OPTIONS_DEFAULT_powerpc64= ${OPTIONS_DEFAULT_powerpc64_${OSREL:R}} OPENMP
-OPTIONS_DEFAULT_powerpc64_13= GOLD
-OPTIONS_DEFAULT_powerpc64_14= GOLD
+OPTIONS_DEFAULT_powerpc= GOLD
+OPTIONS_DEFAULT_powerpc64= ${OPTIONS_DEFAULT_powerpc64_${OSREL:R}} OPENMP
+OPTIONS_DEFAULT_powerpc64_13= GOLD
+OPTIONS_DEFAULT_powerpc64_14= GOLD
OPTIONS_EXCLUDE_i386= FLANG
+OPTIONS_EXCLUDE_powerpc=FLANG
.endif
OPTIONS_SUB= yes
_ALL_OPTIONS= CLANG COMPILER_RT DOCS EXTRAS FLANG GOLD LIT LLD LLDB MLIR \