Name libuchardet0
Description universal charset detection library - shared library
Version 0.0.8-1build1
Package Base uchardet
Homepage https://www.freedesktop.org/wiki/Software/uchardet/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/uchardet/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libuchardet0/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libgcc-s1', 'libstdc++6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'cmake']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash e2c390d8c1843059922f7ff3a74106c5af6fbf03c94532c07de16bf5af256fb4
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

ifeq ($(DEB_HOST_ARCH_CPU),i386)
  # Uchardet seems to rely on IEEE 754 float rounding. Tell the build system to
  # use -ffloat-store to make testsuite pass and make i386 give consistent
  # results between architectures.
  # See https://bugs.freedesktop.org/show_bug.cgi?id=101033
  EXTRA_CMAKE_ARGS = -DTARGET_ARCHITECTURE=x86 -DCHECK_SSE2=OFF
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(EXTRA_CMAKE_ARGS)