diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-02-07 11:38:12 +0100 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-02-11 12:48:36 +0100 |
commit | b4346f9b28adee34ea6de88fc21dd7039c032e87 (patch) | |
tree | e43902aedcc7f8b3c8db17f808a82c2884f359c1 | |
parent | games/NBlood: update to r13939 (diff) |
databases/tiledb: fix build on non-amd64
1. Fix build on powerpc by adding -Wno-c++11-narrowing.
2. Disable AVX2 by default since only modern amd64 supports it.
-rw-r--r-- | databases/tiledb/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/tiledb/Makefile b/databases/tiledb/Makefile index 46fd44295d64..9332302382d2 100644 --- a/databases/tiledb/Makefile +++ b/databases/tiledb/Makefile @@ -28,9 +28,10 @@ RUN_DEPENDS= capnproto1>=1.0.1:devel/capnproto1 \ USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig ssl CFLAGS+= -DSPDLOG_FMT_EXTERNAL=1 -CFLAGS_armv6+= -Wno-c++11-narrowing -CFLAGS_armv7+= -Wno-c++11-narrowing -CFLAGS_i386+= -Wno-c++11-narrowing +CFLAGS_armv6= -Wno-c++11-narrowing +CFLAGS_armv7= -Wno-c++11-narrowing +CFLAGS_i386= -Wno-c++11-narrowing +CFLAGS_powerpc= -Wno-c++11-narrowing CMAKE_ARGS= -DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2 \ -DFREEBSD_OPENSSLBASE=${OPENSSLBASE} \ -Dlibmagic_DICTIONARY=/usr/share/misc/magic.mgc @@ -69,7 +70,6 @@ GH_PROJECT= TileDB USE_GITHUB= yes OPTIONS_DEFINE= AVX2 -OPTIONS_DEFAULT=AVX2 AVX2_DESC= AVX2 instructions support AVX2_CMAKE_BOOL= COMPILER_SUPPORTS_AVX2 |