File: rules

package info (click to toggle)
uchardet 0.0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,488 kB
  • sloc: cpp: 5,129; python: 902; sh: 80; ansic: 72; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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. 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
  export DEB_CXXFLAGS_MAINT_APPEND := -ffloat-store
endif

%:
	dh $@