File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11libmongocrypt (1.7.1-3) UNRELEASED; urgency=medium
22
33 * Drop remove-builtin.patch, integrated upstream
4+ * Disable Decimal128 on platforms without IntelDFP
45
56 -- Kyle Kloberdanz <kyle.kloberdanz@mongodb.com> Fri, 10 Feb 2023 09:33:24 -0600
67
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 10),
88 cmake,
99 libssl-dev,
1010 pkg-config,
11- libintelrdfpmath-dev (>= 2.0u2-6),
11+ libintelrdfpmath-dev (>= 2.0u2-6) [!mips64el !mipsel] ,
1212 libbson-dev
1313Standards-Version: 4.6.2
1414Section: libs
@@ -20,7 +20,7 @@ Architecture: any
2020Multi-Arch: same
2121Depends: libbson-dev,
2222 libmongocrypt0 (= ${binary:Version}),
23- libintelrdfpmath-dev (>= 2.0u2-6),
23+ libintelrdfpmath-dev (>= 2.0u2-6) [!mips64el !mipsel] ,
2424 ${misc:Depends}
2525Description: client-side field level encryption library - dev files
2626 libmongocrypt facilitates the client-side encryption and decryption,
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ export DEB_CFLAGS_MAINT_APPEND = -fPIC
1818# package maintainers to append LDFLAGS
1919# export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
2020
21+ ifneq (,$(filter $(DEB_HOST_ARCH ) ,mipsel mips64el) )
22+ DFP_CONFIG_OPTION=-DMONGOCRYPT_ENABLE_DECIMAL128=OFF
23+ else
24+ DFP_CONFIG_OPTION=-DMONGOCRYPT_DFP_DIR=USE-SYSTEM
25+ endif
2126
2227% :
2328 dh $@
@@ -27,8 +32,8 @@ override_dh_auto_configure:
2732 -DBUILD_VERSION=$(DEB_VERSION_UPSTREAM ) \
2833 -DUSE_SHARED_LIBBSON=ON \
2934 -DMONGOCRYPT_MONGOC_DIR=USE-SYSTEM \
30- -DMONGOCRYPT_DFP_DIR=USE-SYSTEM \
3135 -DENABLE_ONLINE_TESTS=OFF \
36+ $(DFP_CONFIG_OPTION ) \
3237 -DCMAKE_BUILD_TYPE=RelWithDebInfo
3338
3439override_dh_auto_build :
You can’t perform that action at this time.
0 commit comments